X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fscripts%2Fsetup.sh;h=4e06b3ae1a2ed5bb85c22330fb9833095048f182;hb=f239fca03c305dd5f76a346cb657f9f6a889d184;hp=7c4190a10cea4f530c64f88d4da84de0994ee549;hpb=072b7aef359b6a2ee2fd59af672a1f17c6db3412;p=eliot.git diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 7c4190a..4e06b3a 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -165,7 +165,7 @@ install_prometheus(){ install_opcua_centos(){ set -o xtrace - INSTALL_OPCUA_ATEDGE="cd eliot/blueprints/iotgateway/scripts/opcua/ && source install.sh" + INSTALL_OPCUA_ATEDGE="cd eliot/blueprints/iotgateway/scripts/opc-ua/ && source install.sh" while read line do nodeinfo="${line}" @@ -186,6 +186,8 @@ then exit 0 fi +setupPath=`pwd` + if [[ $OSPLATFORM = *CentOS* ]]; then setup_k8smaster_centos else @@ -206,9 +208,10 @@ verify_edgex # Installing OPC-UA on IOT Gateway Node +cd ${setupPath} if [[ $OSPLATFORM = *CentOS* ]]; then install_opcua_centos - +fi # Removing the taint from master node kubectl taint nodes --all node-role.kubernetes.io/master- || true