Merge "Move from keystoneclient to openstackclient in eucarc"
This commit is contained in:
commit
eba85d7ac0
2
eucarc
2
eucarc
@ -22,7 +22,7 @@ source $RC_DIR/openrc
|
|||||||
export EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
|
export EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
|
||||||
|
|
||||||
# Create EC2 credentials for the current user
|
# 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_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
|
||||||
export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')
|
export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user