Merge "Move sgabios setup to hypervisor-ironic"
This commit is contained in:
commit
ca7aa301b2
@ -171,14 +171,6 @@ function install_ironic {
|
||||
if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then
|
||||
install_apache_wsgi
|
||||
fi
|
||||
|
||||
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
|
||||
# Ubuntu packaging+apparmor issue prevents libvirt from loading
|
||||
# the ROM from /usr/share/misc. Workaround by installing it directly
|
||||
# to a directory that it can read from. (LP: #1393548)
|
||||
sudo rm -rf /usr/share/qemu/sgabios.bin
|
||||
sudo cp /usr/share/misc/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
}
|
||||
|
||||
# install_ironicclient() - Collect sources and prepare
|
||||
|
@ -56,6 +56,13 @@ function install_nova_hypervisor {
|
||||
die $LINENO "Neutron should be enabled for usage of the Ironic Nova driver."
|
||||
fi
|
||||
install_libvirt
|
||||
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
|
||||
# Ubuntu packaging+apparmor issue prevents libvirt from loading
|
||||
# the ROM from /usr/share/misc. Workaround by installing it directly
|
||||
# to a directory that it can read from. (LP: #1393548)
|
||||
sudo rm -rf /usr/share/qemu/sgabios.bin
|
||||
sudo cp /usr/share/misc/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
}
|
||||
|
||||
# start_nova_hypervisor - Start any required external services
|
||||
|
Loading…
Reference in New Issue
Block a user