Fix issues with use in Jenkins 27/52127/1
authorBryan Sullivan <bryan.sullivan@att.com>
Tue, 13 Feb 2018 21:35:18 +0000 (13:35 -0800)
committerBryan Sullivan <bryan.sullivan@att.com>
Tue, 13 Feb 2018 21:35:18 +0000 (13:35 -0800)
JIRA: VES-2

Change-Id: I0d05b9aabf0c3ba9d0ec7e49c752586aaee24c33
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
tools/demo_deploy.sh
tools/ves-clean.sh
tools/ves-setup.sh

index 5567ce6..9a4bd15 100644 (file)
@@ -152,7 +152,7 @@ deploy_start=$((`date +%s`/60))
 user=$1
 master=$2
 cloudify=$3
-source ~/k8s_env_$k8s_master_hostname.sh
+source ~/k8s_env.sh
 log "k8s environment as input"
 env | grep k8s
 eval `ssh-agent`
index 0f9b8d7..1a361f6 100644 (file)
@@ -188,7 +188,7 @@ if [[ $(grep -c $HOSTNAME /etc/hosts) -eq 0 ]]; then
     sudo tee -a /etc/hosts
 fi
 
-source ~/k8s_env_$k8s_master_hostname.sh
+source ~/k8s_env.sh
 if [[ -f ~/ves/tools/ves_env.sh ]]; then
   source ~/ves/tools/ves_env.sh
 fi
index aade964..8d5c902 100644 (file)
@@ -425,7 +425,7 @@ if [[ $(grep -c $HOSTNAME /etc/hosts) -eq 0 ]]; then
     sudo tee -a /etc/hosts
 fi
 
-source ~/k8s_env_$k8s_master_hostname.sh
+source ~/k8s_env.sh
 if [[ -f ~/ves/tools/ves_env.sh ]]; then
   source ~/ves/tools/ves_env.sh
 fi