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
This commit is contained in:
Anthony Lin 2017-11-30 01:51:36 +00:00
parent 9d44c2e87a
commit ae9a9aef2f
1 changed files with 1 additions and 1 deletions

View File

@ -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