summaryrefslogtreecommitdiffstats
path: root/boot/asdc_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/asdc_install.sh')
-rw-r--r--boot/asdc_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/asdc_install.sh b/boot/asdc_install.sh
index 6beec3d2..c70787fc 100644
--- a/boot/asdc_install.sh
+++ b/boot/asdc_install.sh
@@ -3,7 +3,6 @@
# Read configuration files
NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
-DOCKER_KEY=$(cat /opt/config/docker_key.txt)
DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
@@ -29,6 +28,7 @@ mv /opt/asdc_serv.sh /etc/init.d
update-rc.d asdc_serv.sh defaults
# Download and install docker-engine and docker-compose
+DOCKER_KEY=$(cat /opt/config/docker_key.txt)
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys $DOCKER_KEY
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update