cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson 2017-05-15 17:30:43 +01:00
parent 289081819e
commit 30c4fddde7
2 changed files with 2 additions and 6 deletions

View File

@ -44,8 +44,7 @@ services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
# We will be able to move to autopart when new pykickstart lands which adds option for noswap/noboot (fixed upstream) # We will be able to move to autopart when new pykickstart lands which adds option for noswap/noboot (fixed upstream)
zerombr zerombr
clearpart --all clearpart --all
part /boot/efi --fstype="vfat" --size=50 autopart --noboot --nohome --noswap --nolvm
part / --fstype ext4 --grow
%include fedora-repo.ks %include fedora-repo.ks

View File

@ -24,12 +24,9 @@ keyboard us
network --bootproto=dhcp --device=link --activate --onboot=on network --bootproto=dhcp --device=link --activate --onboot=on
reboot reboot
# boot partitions are irrelevant as none of that content is taken into the final docker image
# We will be able to move to autopart when new pykickstart lands which adds option for noswap/noboot (fixed upstream)
zerombr zerombr
clearpart --all clearpart --all
part /boot/efi --fstype="vfat" --size=100 autopart --noboot --nohome --noswap --nolvm
part / --fstype ext4 --grow
%packages --excludedocs --instLangs=en --nocore %packages --excludedocs --instLangs=en --nocore
fedora-release fedora-release