Modified folder name in setup.sh from opcua to opc-ua
Change to scripts path before executing opc-ua method
Signed-off-by: Abhijit Dasgupta <abhijit.das.gupta@huawei.com>
Change-Id: I75d6ac403f084450572b56ff6bf4180b3ac485dc
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}"
exit 0
fi
+setupPath=`pwd`
+
if [[ $OSPLATFORM = *CentOS* ]]; then
setup_k8smaster_centos
else
# Installing OPC-UA on IOT Gateway Node
+cd ${setupPath}
if [[ $OSPLATFORM = *CentOS* ]]; then
install_opcua_centos
fi