Skip to content

Commit

Permalink
#2925: install_rancher, fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Feb 22, 2018
1 parent f70071d commit 562df4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_rancher
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ if docker -v >/dev/null 2>&1; then
http://"$SERVER_IP":8080/v1/projects/1a5/apikey
)

export RANCHER_ACCESS_KEY=$(echo "$ACCESS" | python -c 'import json,sys;json.load(sys.stdin);print(obj.name)')
export RANCHER_SECRET_KEY=$(echo "$ACCESS" | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj.secretValue')
export RANCHER_ACCESS_KEY=$(echo "$ACCESS" | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj.name)')
export RANCHER_SECRET_KEY=$(echo "$ACCESS" | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj.secretValue)')
export RANCHER_URL=http://"$SERVER_IP":8080/

## notify access + secret key
Expand Down

0 comments on commit 562df4b

Please sign in to comment.