1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 15:33:07 +00:00

atomic-vagrant: Mask cloud-init instead of using rm on /etc

Now that cloud-init is enabled in the systemd unit, that change
goes in /usr/lib...which we can't easily change.  There are
two potentially sane solutions:
 - Refactor the kickstarts here
 - Some support for systemd presets in kickstart files would
   allow us to have a later override here
This commit is contained in:
Colin Walters 2015-03-04 11:58:01 -05:00
parent 125219301c
commit 1f694b994d

View File

@ -11,7 +11,7 @@ user --name=vagrant --password=vagrant
# Work around cloud-init being both disabled and enabled; need
# to refactor to a common base.
rm /etc/systemd/system/multi-user.target.wants/cloud-init* /etc/systemd/system/multi-user.target.wants/cloud-config*
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
# Vagrant setup
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers