Browse code

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

Jenkins authored on 2014/03/13 02:08:31
Showing 1 changed files
... ...
@@ -308,7 +308,7 @@ function configure_nova {
308 308
     # Rebuild the config file from scratch
309 309
     create_nova_conf
310 310
 
311
-    if [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
311
+    if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
312 312
         # Configure hypervisor plugin
313 313
         configure_nova_hypervisor
314 314
     fi