Merge "Avoid VM configuration with Ironic hardware mode."

This commit is contained in:
Jenkins 2015-01-21 08:12:25 +00:00 committed by Gerrit Code Review
commit b3e38cf295

View File

@ -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