Block glean-early.sh from running
Ironic has replaced the mount logic used by glean-early.sh with it's own safer alternative. Change-Id: If94901d1533ee6a51eaafe4ae114af901ab7e18d
This commit is contained in:
parent
6a767738f4
commit
6c3a8f174f
@ -62,6 +62,16 @@ DHCP=yes" > /etc/systemd/network/99-dhcp.network
|
||||
systemctl enable systemd-networkd
|
||||
fi
|
||||
fi
|
||||
if [ -e /usr/lib/systemd/system/glean-early.service ]; then
|
||||
# Disable Glean-early start
|
||||
# Under normal cirumstances, glean-early attempts to mount a config
|
||||
# drive, configure ssh and a hostname. We only need the mount, and we
|
||||
# trigger that in ironic-agent-resolve-config-drive.service.
|
||||
# This is largely because glean uses /mnt/config by default,
|
||||
# where as cloud-init uses a random folder name.
|
||||
systemctl disable glean-early.service || true
|
||||
rm /usr/lib/systemd/system/glean-early.service
|
||||
fi
|
||||
;;
|
||||
sysv)
|
||||
update-rc.d iptables disable
|
||||
|
Loading…
x
Reference in New Issue
Block a user