Output unique admin id of user and project list

Change-Id: I8983768b6fafdd70f4c8aa7bdcf91af4f50efe70
Closes-Bug: #1520982
This commit is contained in:
Hui Kang 2015-11-29 19:49:54 +00:00
parent b0159f7ec9
commit 1c9056bcb6

View File

@ -70,8 +70,8 @@ fi
# Increase the quota to allow 40 m1.small instances to be created # Increase the quota to allow 40 m1.small instances to be created
# Get admin user and tenant IDs # Get admin user and tenant IDs
ADMIN_USER_ID=$(openstack user 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}') ADMIN_PROJECT_ID=$(openstack project list | awk '/ admin / {print $2}')
# 40 instances # 40 instances
nova quota-update --instances 40 $ADMIN_PROJECT_ID nova quota-update --instances 40 $ADMIN_PROJECT_ID