Move from keystoneclient to openstackclient in eucarc

Updating an ec2 create command to openstackclient syntax.

Change-Id: I3dd21ddd52b77f3af76988db9ae6b863427d9106
This commit is contained in:
Steve Martinelli 2014-03-13 23:22:39 -05:00
parent 92b400fd63
commit 1e94eb1a3f

2
eucarc
View File

@ -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 }')