diff options
author | Marco Platania <platania@research.att.com> | 2017-04-12 09:59:16 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-04-12 09:59:16 -0400 |
commit | dce86012866282cf906bc4f0a62cc5b224dac199 (patch) | |
tree | 577c6b49e73f231774b34dcb128cf0344ce8dfd3 /boot/mso_install.sh | |
parent | 8ce1c7aa2b016eb9fb776533f08863d2a8df5eba (diff) |
move docker key instruction
Change-Id: Ia91176e98e1e578aa05745aa8f3b97995ef8bb55
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/mso_install.sh')
-rw-r--r-- | boot/mso_install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/mso_install.sh b/boot/mso_install.sh index d74b10ac..76d7070d 100644 --- a/boot/mso_install.sh +++ b/boot/mso_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) OPENSTACK_API_KEY=$(cat /opt/config/openstack_api_key.txt) @@ -30,6 +29,7 @@ mv /opt/mso_serv.sh /etc/init.d update-rc.d mso_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 |