Commit ce0ba38b authored by David Johnson's avatar David Johnson

The new libvirt-guests.service defaults to suspending the guests.

This screws up everything -- from shutdown to bootup.  For whatever
reason, it blocks the physhost from coming up on the network... and
eventually systemd times out the boot and reboots!  Ugh.  Stuff like
this shouldn't get introduced in an LTS release.
parent a9984064
......@@ -184,6 +184,14 @@ if [ ${OSCODENAME} = "juno" ]; then
patch -d / -p0 < $DIRNAME/etc/nova-juno-root-device-name.patch
fi
#
# Somewhere libvirt-guests.service defaulted to suspending the guests. Fix that.
#
if [ -f /etc/default/libvirt-guests ]; then
echo ON_SHUTDOWN=shutdown >> /etc/default/libvirt-guests
service_restart libvirt-guests
fi
service_restart nova-compute
service_enable nova-compute
service_restart libvirt-bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment