Avoid VM configuration with Ironic hardware mode.
If "IRONIC_HARDWARE" is True, VMs are not required when using Ironic. Change-Id: I33ba294f1e2ea583cd4c24c392637a4ee60a39ab
This commit is contained in:
parent
0f4942c784
commit
37026f5366
@ -56,6 +56,8 @@ function configure_nova_hypervisor {
|
||||
function install_nova_hypervisor {
|
||||
if ! is_service_enabled neutron; then
|
||||
die $LINENO "Neutron should be enabled for usage of the Ironic Nova driver."
|
||||
elif is_ironic_hardware; then
|
||||
return
|
||||
fi
|
||||
install_libvirt
|
||||
if [[ "$IRONIC_VM_LOG_CONSOLE" == "True" ]] && is_ubuntu; then
|
||||
|
Loading…
Reference in New Issue
Block a user