Merge #227 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-19 16:51:39 +00:00
commit d35eba9297
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)
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