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 8f142150ba
commit 00e6c35287
2 changed files with 2 additions and 6 deletions

View File

@ -42,8 +42,7 @@ services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part /boot/efi --fstype="vfat" --size=50
part / --fstype ext4 --grow
autopart --noboot --nohome --noswap --nolvm
%include fedora-repo.ks

View File

@ -24,12 +24,9 @@ keyboard us
network --bootproto=dhcp --device=link --activate --onboot=on
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
clearpart --all
part /boot/efi --fstype="vfat" --size=100
part / --fstype ext4 --grow
autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-release