Skip to content
Snippets Groups Projects
Commit 1c9056bc authored by Hui Kang's avatar Hui Kang
Browse files

Output unique admin id of user and project list

Change-Id: I8983768b6fafdd70f4c8aa7bdcf91af4f50efe70
Closes-Bug: #1520982
parent b0159f7e
No related branches found
No related tags found
No related merge requests found
...@@ -70,8 +70,8 @@ fi ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment