From 562df4bbef676493ed4b9106151e3a08d828165c Mon Sep 17 00:00:00 2001 From: "Jeffrey M. Levesque" Date: Thu, 22 Feb 2018 13:06:42 -0500 Subject: [PATCH] #2925: install_rancher, fix syntax --- install_rancher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_rancher b/install_rancher index 4f6cab635..0a654089d 100644 --- a/install_rancher +++ b/install_rancher @@ -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