Merge "Avoid VM configuration with Ironic hardware mode."
This commit is contained in:
commit
b3e38cf295
@ -56,6 +56,8 @@ function configure_nova_hypervisor {
|
|||||||
function install_nova_hypervisor {
|
function install_nova_hypervisor {
|
||||||
if ! is_service_enabled neutron; then
|
if ! is_service_enabled neutron; then
|
||||||
die $LINENO "Neutron should be enabled for usage of the Ironic Nova driver."
|
die $LINENO "Neutron should be enabled for usage of the Ironic Nova driver."
|
||||||
|
elif is_ironic_hardware; then
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
install_libvirt
|
install_libvirt
|
||||||
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
|
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
|
||||||
|
Loading…
Reference in New Issue
Block a user