mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-02-09 13:11:39 +00:00
cloud-atomic: Forcibly power off after %post to work around bug
The system loops with: mkdir: cannot create directory '/oldsys': Read-only filesystem mkdir: cannot create directory '/oldsys/sys': Read-only filesystem mount: mount point /oldsys/sys does not exist ... drauct Warning: Killing all remaining processes ... --- begin loop --- Unable to unlink device node for atomicos-root Unable to unlink device node for live-base rm: cannot remove /lib/drauct/hooks/shutdown/30-dm-shutdown.sh: Read-only filesystem rm: cannot remove /lib/drauct/hooks/shutdown/30-md-shutdown.sh: Read-only filesystem --- end loop --- Not entirely sure what's at fault here, but this is a quick hack to get an image building.
This commit is contained in:
parent
09243c9986
commit
377cf487ed
@ -136,3 +136,10 @@ echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
%end
|
||||
|
||||
%post --nochroot
|
||||
# Work around anaconda/dracut/lvm bug
|
||||
sync
|
||||
sync
|
||||
sync
|
||||
systemctl reboot -f -f
|
||||
%end
|
||||
|
Loading…
x
Reference in New Issue
Block a user