aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/init-runonce4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index c0ffc5c4c..39f733797 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -70,8 +70,8 @@ fi
# Increase the quota to allow 40 m1.small instances to be created
# Get admin user and tenant IDs
-ADMIN_USER_ID=$(openstack user list | awk '/admin/ {print $2}')
-ADMIN_PROJECT_ID=$(openstack project list | awk '/admin/ {print $2}')
+ADMIN_USER_ID=$(openstack user list | awk '/ admin / {print $2}')
+ADMIN_PROJECT_ID=$(openstack project list | awk '/ admin / {print $2}')
# 40 instances
nova quota-update --instances 40 $ADMIN_PROJECT_ID