changeset 55:c49b169339b1

use bindWorkerVars.sh
author Henry S. Thompson <ht@markup.co.uk>
date Fri, 08 Feb 2019 17:55:48 +0000
parents 1099246f22b6
children 8ce6a81e2bb4
files master/bin/makeWorker.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/master/bin/makeWorker.sh	Fri Feb 08 17:46:49 2019 +0000
+++ b/master/bin/makeWorker.sh	Fri Feb 08 17:55:48 2019 +0000
@@ -6,6 +6,6 @@
 set -e -o pipefail
 name=$1
 ip=$(az vm list-ip-addresses -g cc -n $name|egrep -o '"ipAddress": ".*"' | cut -f 2 -d ' ' | tr -d \")
-export $name=$ip
-echo $name=$ip
 setupTemplate.sh $ip
+. bindWorkerVars.sh $name
+