From ae9a9aef2f9dcc515a52a1d357a0bc596579b35f Mon Sep 17 00:00:00 2001 From: Anthony Lin Date: Thu, 30 Nov 2017 01:51:36 +0000 Subject: [PATCH] Update deploy_site script We are getting 'permission denied' while trying to retrieve the keystone IP. This P.S. is meant to correct that behavior by using `sudo` Change-Id: I93d9d15a40b54dba1205202257d6384597d01247 --- tools/deploy_site.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deploy_site.sh b/tools/deploy_site.sh index d5a0b7cf..99651a72 100755 --- a/tools/deploy_site.sh +++ b/tools/deploy_site.sh @@ -19,7 +19,7 @@ set -x namespace="ucp" shipyard_username="shipyard" shipyard_password="password" -keystone_ip=`kubectl get pods -n ${namespace} -o wide | grep keystone | awk '{print $6}'` +keystone_ip=`sudo kubectl get pods -n ${namespace} -o wide | grep keystone | awk '{print $6}'` host="localhost" port=31901