Hawkbit installation through docker mode 82/3782/4
authorSrinivasan Selvam <srinivasan.s.n@huawei.com>
Mon, 5 Oct 2020 12:19:42 +0000 (17:49 +0530)
committerSrinivasan <srinivasan.s.n@huawei.com>
Fri, 23 Oct 2020 09:45:14 +0000 (15:15 +0530)
Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com>
Change-Id: Ia33d12674d84995768accbfc79915c52a693ef8d

blueprints/iotgateway/scripts/hawkbit.sh [new file with mode: 0644]
blueprints/iotgateway/scripts/setup.sh

diff --git a/blueprints/iotgateway/scripts/hawkbit.sh b/blueprints/iotgateway/scripts/hawkbit.sh
new file mode 100644 (file)
index 0000000..6679e38
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash -ex
+##############################################################################
+# Copyright (c) 2019 Huawei Tech and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+# Install hawkbit through docker container
+
+sudo docker run -p 8080:8080 hawkbit/hawkbit-update-server:latest
+
+echo "Hawkbit installation successfull on IOTGateway..................."
index 4e06b3a..41f845a 100755 (executable)
@@ -206,6 +206,11 @@ install_edgex
 sleep 20
 verify_edgex
 
+
+# Installing hawkbit through docker container
+chmod +x hawkbit.sh
+nohup ./hawkbit.sh
+
 # Installing OPC-UA on IOT Gateway Node
 
 cd ${setupPath}