diff options
| author | Hui Kang <kangh@us.ibm.com> | 2015-11-29 19:49:54 +0000 |
|---|---|---|
| committer | Hui Kang <kangh@us.ibm.com> | 2015-11-29 20:17:19 +0000 |
| commit | 1c9056bcb6e18fc69cda4fe4d63b2c0d09750a18 (patch) | |
| tree | 71274b601caf764aa538664b3006fee8cb06307d /tools/init-runonce | |
| parent | b0159f7ec9920076df9446e389fbb17875480cde (diff) | |
| download | kolla-ansible-1c9056bcb6e18fc69cda4fe4d63b2c0d09750a18.tar.gz kolla-ansible-1c9056bcb6e18fc69cda4fe4d63b2c0d09750a18.zip | |
Output unique admin id of user and project list
Change-Id: I8983768b6fafdd70f4c8aa7bdcf91af4f50efe70
Closes-Bug: #1520982
Diffstat (limited to 'tools/init-runonce')
| -rwxr-xr-x | tools/init-runonce | 4 |
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 |
