Move from keystoneclient to openstackclient in eucarc
Updating an ec2 create command to openstackclient syntax. Change-Id: I3dd21ddd52b77f3af76988db9ae6b863427d9106
This commit is contained in:
parent
92b400fd63
commit
1e94eb1a3f
2
eucarc
2
eucarc
@ -22,7 +22,7 @@ source $RC_DIR/openrc
|
||||
export EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
|
||||
|
||||
# Create EC2 credentials for the current user
|
||||
CREDS=$(keystone ec2-credentials-create)
|
||||
CREDS=$(openstack ec2 credentials create)
|
||||
export EC2_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
|
||||
export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user