Creates nova endpoint when n-api is enabled.

Fixes bug 1081975

Nova endpoint in keystone was registered if n-cpu is enabled. However it is
a usual case where n-cpu runs on a different host in multi-node setup and
it results in no endpoint for nova. n-api is a better condition since nova-api
and keystone usually run on a same host.

Change-Id: Ic097e1c3bd30798d9d3c5fb76023fbdb3ae189d9
diff --git a/files/keystone_data.sh b/files/keystone_data.sh
index 71994a8..f75d24a 100755
--- a/files/keystone_data.sh
+++ b/files/keystone_data.sh
@@ -106,7 +106,7 @@
 fi
 
 # Nova
-if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then
+if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
     NOVA_USER=$(get_id keystone user-create \
         --name=nova \
         --pass="$SERVICE_PASSWORD" \