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

This commit is contained in:
Dennis Gilmore 2017-05-16 15:52:34 +00:00
commit dd76f34ec7
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