walters added a new comment to an issue you are following: `` Here's what I have now, but it still times out. Removing the `resume=` kernel command line argument fixes it. I can't figure out what else is parsing it.
``` diff --git a/fedora-coreos-base.yaml b/fedora-coreos-base.yaml index db3e42c..89bc4f8 100644 --- a/fedora-coreos-base.yaml +++ b/fedora-coreos-base.yaml @@ -106,6 +106,14 @@ postprocess: enable coreos-growpart.service EOF
+ # https://pagure.io/atomic-wg/issue/513 + sed -i '/ConditionKernelCommandLine.*resume/d' /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service + rm -rf /usr/lib/dracut/modules.d/95resume + rm -vf /usr/lib/systemd/system/systemd-hibernate*.service \ + /usr/lib/systemd/system/systemd-hibernate \ + /usr/lib/systemd/systemd-hibernate-resume \ + /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator + # Let's have a non-boring motd, just like CL (although theirs is more subdued # nowadays compared to early versions with ASCII art). One thing we do here # is add --- as a "separator"; the idea is that any "dynamic" information should diff --git a/image.ks b/image.ks index 34df026..3efc9cc 100644 --- a/image.ks +++ b/image.ks @@ -11,7 +11,7 @@ # coreos-assembler.
# This line is interpreted by coreos-virt-install -#--coreos-virt-install-disk-size-gb: 8 +#--coreos-virt-install-disk-size-gb: 40 # We use this because Kickstart doesn't have a way to specify # the *total* size of the disk. text @@ -32,6 +32,7 @@ network --bootproto=dhcp --onboot=on
zerombr clearpart --initlabel --all + # Add the following to kernel boot args: # - ip=dhcp # how to get network # - rd.neednet=1 # tell dracut we need network @@ -42,9 +43,12 @@ bootloader --timeout=1 --append="no_timer_check console=ttyS0,115200n8 console=t # See also coreos-growpart.service defined in fedora-coreos-base.yaml # You can change this partition layout, but note that the `boot` and `root` # filesystem labels are currently mandatory (they're interpreted by coreos-assembler). +part pv.01 --grow +volgroup coreos pv.01 part /boot --size=300 --fstype="xfs" --label=boot +logvol swap --name=swap --size=9000 --label=swap --vgname=coreos # Note no reflinks for /boot since the bootloader may not understand them -part / --size=3000 --fstype="xfs" --label=root --grow --mkfsoptions="-m reflink=1" +logvol / --name=root --size=3000 --fstype="xfs" --label=root --grow --mkfsoptions="-m reflink=1" --vgname=coreos
reboot
diff --git a/fedora-coreos-base.yaml b/fedora-coreos-base.yaml index db3e42c..89bc4f8 100644 --- a/fedora-coreos-base.yaml +++ b/fedora-coreos-base.yaml @@ -106,6 +106,14 @@ postprocess: enable coreos-growpart.service EOF
+ # https://pagure.io/atomic-wg/issue/513 + sed -i '/ConditionKernelCommandLine.*resume/d' /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service + rm -rf /usr/lib/dracut/modules.d/95resume + rm -vf /usr/lib/systemd/system/systemd-hibernate*.service \ + /usr/lib/systemd/system/systemd-hibernate \ + /usr/lib/systemd/systemd-hibernate-resume \ + /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator + # Let's have a non-boring motd, just like CL (although theirs is more subdued # nowadays compared to early versions with ASCII art). One thing we do here # is add --- as a "separator"; the idea is that any "dynamic" information should diff --git a/image.ks b/image.ks index 34df026..3efc9cc 100644 --- a/image.ks +++ b/image.ks @@ -11,7 +11,7 @@ # coreos-assembler.
# This line is interpreted by coreos-virt-install -#--coreos-virt-install-disk-size-gb: 8 +#--coreos-virt-install-disk-size-gb: 40 # We use this because Kickstart doesn't have a way to specify # the *total* size of the disk. text @@ -32,6 +32,7 @@ network --bootproto=dhcp --onboot=on
zerombr clearpart --initlabel --all + # Add the following to kernel boot args: # - ip=dhcp # how to get network # - rd.neednet=1 # tell dracut we need network @@ -42,9 +43,12 @@ bootloader --timeout=1 --append="no_timer_check console=ttyS0,115200n8 console=t # See also coreos-growpart.service defined in fedora-coreos-base.yaml # You can change this partition layout, but note that the `boot` and `root` # filesystem labels are currently mandatory (they're interpreted by coreos-assembler). +part pv.01 --grow +volgroup coreos pv.01 part /boot --size=300 --fstype="xfs" --label=boot +logvol swap --name=swap --size=9000 --label=swap --vgname=coreos # Note no reflinks for /boot since the bootloader may not understand them -part / --size=3000 --fstype="xfs" --label=root --grow --mkfsoptions="-m reflink=1" +logvol / --name=root --size=3000 --fstype="xfs" --label=root --grow --mkfsoptions="-m reflink=1" --vgname=coreos
reboot
``` ``
To reply, visit the link below or just reply to this email https://pagure.io/atomic-wg/issue/513