From: khemendra kumar Date: Wed, 18 Nov 2020 12:40:04 +0000 (+0000) Subject: Merge "Hawkbit installation through docker mode" X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=21d76c6999be0e33881c027411500b502139e343;hp=f037da317ccc4857aeef7800c84616d2f6f43067;p=eliot.git Merge "Hawkbit installation through docker mode" --- diff --git a/blueprints/iotgateway/scripts/hawkbit.sh b/blueprints/iotgateway/scripts/hawkbit.sh new file mode 100644 index 0000000..6679e38 --- /dev/null +++ b/blueprints/iotgateway/scripts/hawkbit.sh @@ -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..................." diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 4e06b3a..41f845a 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -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}