Merge "Copy nova-api-paste.ini if n-api* is enabled"
diff --git a/lib/nova b/lib/nova
index 78906f7..9a8614b 100644
--- a/lib/nova
+++ b/lib/nova
@@ -257,7 +257,7 @@
 
     configure_nova_rootwrap
 
-    if is_service_enabled n-api; then
+    if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
         # Remove legacy paste config if present
         rm -f $NOVA_DIR/bin/nova-api-paste.ini