Code Review
/
eliot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Opc-au client and server added
[eliot.git]
/
blueprints
/
iotgateway
/
scripts
/
setup.sh
diff --git
a/blueprints/iotgateway/scripts/setup.sh
b/blueprints/iotgateway/scripts/setup.sh
index
7c4190a
..
41f845a
100755
(executable)
--- 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_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}"
while read line
do
nodeinfo="${line}"
@@
-186,6
+186,8
@@
then
exit 0
fi
exit 0
fi
+setupPath=`pwd`
+
if [[ $OSPLATFORM = *CentOS* ]]; then
setup_k8smaster_centos
else
if [[ $OSPLATFORM = *CentOS* ]]; then
setup_k8smaster_centos
else
@@
-204,11
+206,17
@@
install_edgex
sleep 20
verify_edgex
sleep 20
verify_edgex
+
+# Installing hawkbit through docker container
+chmod +x hawkbit.sh
+nohup ./hawkbit.sh
+
# Installing OPC-UA on IOT Gateway Node
# Installing OPC-UA on IOT Gateway Node
+cd ${setupPath}
if [[ $OSPLATFORM = *CentOS* ]]; then
install_opcua_centos
if [[ $OSPLATFORM = *CentOS* ]]; then
install_opcua_centos
-
+fi
# Removing the taint from master node
kubectl taint nodes --all node-role.kubernetes.io/master- || true
# Removing the taint from master node
kubectl taint nodes --all node-role.kubernetes.io/master- || true