Merge "Block glean-early.sh from running"
This commit is contained in:
commit
e29375da7e
@ -62,6 +62,16 @@ DHCP=yes" > /etc/systemd/network/99-dhcp.network
|
|||||||
systemctl enable systemd-networkd
|
systemctl enable systemd-networkd
|
||||||
fi
|
fi
|
||||||
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)
|
sysv)
|
||||||
update-rc.d iptables disable
|
update-rc.d iptables disable
|
||||||
|
Loading…
Reference in New Issue
Block a user