From 1c9056bcb6e18fc69cda4fe4d63b2c0d09750a18 Mon Sep 17 00:00:00 2001 From: Hui Kang Date: Sun, 29 Nov 2015 19:49:54 +0000 Subject: [PATCH] Output unique admin id of user and project list Change-Id: I8983768b6fafdd70f4c8aa7bdcf91af4f50efe70 Closes-Bug: #1520982 --- tools/init-runonce | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/init-runonce b/tools/init-runonce index c0ffc5c4cb..39f7337977 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