Merge "Hawkbit installation through docker mode"
[eliot.git] / blueprints / iotgateway / scripts / hawkbit.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..................."