Change-Id: I779da2fd1f450abd7757484e7dc46e3bf5a6e816
Signed-off-by: Linda Wang <wangwulin@huawei.com>
cat <<-EOF
export KUBECONFIG=~/joid_config/config
export KUBERNETES_PROVIDER=local
-export KUBE_MASTER_IP=`juju status kubernetes-master --format=yaml | grep public-address | cut -d ":" -f 2 | head -1`
+export KUBE_MASTER_IP=`juju status kubernetes-master --format=yaml | grep public-address | cut -d ":" -f 2 | head -1 | sed "s/^[ \t]*//g"`
export KUBE_MASTER_URL=http://${KUBE_MASTER_IP}:6443
EOF
}