Merge "Do not restart libvirt if n-cpu is disabled"

This commit is contained in:
Jenkins 2014-03-12 17:08:31 +00:00 committed by Gerrit Code Review
commit c0dea9789b

View File

@ -308,7 +308,7 @@ function configure_nova {
# Rebuild the config file from scratch
create_nova_conf
if [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
# Configure hypervisor plugin
configure_nova_hypervisor
fi