aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-18 09:42:48 -0400
committerMarco Platania <platania@research.att.com>2017-04-18 09:42:48 -0400
commit478e6defde66ace4b204fc20fee7a24ef77ccceb (patch)
treea195f35c0ac23c35b9dd30543165a656685e3401
parent0890a83951be54a2656d10a332401c2e816770c4 (diff)
allow unauthenticated docker-engine download
Change-Id: I2c00fb108770efc36ef22fce6d1474f625e6df0e Signed-off-by: Marco Platania <platania@research.att.com>
-rw-r--r--boot/aai_install.sh5
-rw-r--r--boot/appc_install.sh5
-rw-r--r--boot/asdc_install.sh5
-rw-r--r--boot/dcae_install.sh5
-rw-r--r--boot/mr_install.sh5
-rw-r--r--boot/mso_install.sh5
-rw-r--r--boot/policy_install.sh5
-rw-r--r--boot/portal_install.sh5
-rw-r--r--boot/robot_install.sh5
-rw-r--r--boot/sdnc_install.sh5
-rw-r--r--boot/vid_install.sh3
11 files changed, 10 insertions, 43 deletions
diff --git a/boot/aai_install.sh b/boot/aai_install.sh
index e68c408d..cf9043b9 100644
--- a/boot/aai_install.sh
+++ b/boot/aai_install.sh
@@ -18,7 +18,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/aai_vm_init.sh -o /opt/aai_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/aai_serv.sh -o /opt/aai_serv.sh
chmod +x /opt/aai_vm_init.sh
@@ -27,12 +26,10 @@ mv /opt/aai_serv.sh /etc/init.d
update-rc.d aai_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/appc_install.sh b/boot/appc_install.sh
index 4ee9ba99..453f7ebd 100644
--- a/boot/appc_install.sh
+++ b/boot/appc_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-7-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/appc_vm_init.sh -o /opt/appc_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/appc_serv.sh -o /opt/appc_serv.sh
chmod +x /opt/appc_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/appc_serv.sh /etc/init.d
update-rc.d appc_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/asdc_install.sh b/boot/asdc_install.sh
index ff44283f..fff64320 100644
--- a/boot/asdc_install.sh
+++ b/boot/asdc_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/asdc_vm_init.sh -o /opt/asdc_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/asdc_serv.sh -o /opt/asdc_serv.sh
chmod +x /opt/asdc_vm_init.sh
@@ -28,12 +27,10 @@ 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
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/dcae_install.sh b/boot/dcae_install.sh
index f9de935b..933fb2c6 100644
--- a/boot/dcae_install.sh
+++ b/boot/dcae_install.sh
@@ -45,7 +45,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/dcae_vm_init.sh -o /opt/dcae_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/dcae_serv.sh -o /opt/dcae_serv.sh
chmod +x /opt/dcae_vm_init.sh
@@ -54,12 +53,10 @@ mv /opt/dcae_serv.sh /etc/init.d
update-rc.d dcae_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/mr_install.sh b/boot/mr_install.sh
index c01cfe2d..b00457d3 100644
--- a/boot/mr_install.sh
+++ b/boot/mr_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/mr_vm_init.sh -o /opt/mr_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/mr_serv.sh -o /opt/mr_serv.sh
chmod +x /opt/mr_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/mr_serv.sh /etc/init.d
update-rc.d mr_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/mso_install.sh b/boot/mso_install.sh
index 2c56716c..9c10e303 100644
--- a/boot/mso_install.sh
+++ b/boot/mso_install.sh
@@ -20,7 +20,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/mso_vm_init.sh -o /opt/mso_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/mso_serv.sh -o /opt/mso_serv.sh
chmod +x /opt/mso_vm_init.sh
@@ -29,12 +28,10 @@ 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
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/policy_install.sh b/boot/policy_install.sh
index 12ddac01..ab29f553 100644
--- a/boot/policy_install.sh
+++ b/boot/policy_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/policy_vm_init.sh -o /opt/policy_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/policy_serv.sh -o /opt/policy_serv.sh
chmod +x /opt/policy_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/policy_serv.sh /etc/init.d
update-rc.d policy_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/portal_install.sh b/boot/portal_install.sh
index ca89a6d8..4fc63061 100644
--- a/boot/portal_install.sh
+++ b/boot/portal_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git unzip mysql-client-core-5.6 ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/portal_vm_init.sh -o /opt/portal_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/portal_serv.sh -o /opt/portal_serv.sh
chmod +x /opt/portal_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/portal_serv.sh /etc/init.d
update-rc.d portal_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/robot_install.sh b/boot/robot_install.sh
index ed116bcb..16b31142 100644
--- a/boot/robot_install.sh
+++ b/boot/robot_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/robot_vm_init.sh -o /opt/robot_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/robot_serv.sh -o /opt/robot_serv.sh
chmod +x /opt/robot_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/robot_serv.sh /etc/init.d
update-rc.d robot_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
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/sdnc_install.sh b/boot/sdnc_install.sh
index 0c1cf5c6..03d49000 100644
--- a/boot/sdnc_install.sh
+++ b/boot/sdnc_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/sdnc_vm_init.sh -o /opt/sdnc_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/sdnc_serv.sh -o /opt/sdnc_serv.sh
chmod +x /opt/sdnc_vm_init.sh
@@ -28,12 +27,10 @@ mv /opt/sdnc_serv.sh /etc/init.d
update-rc.d sdnc_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-apt-get install -y docker-engine
+apt-get install -y --allow-unauthenticated docker-engine
mkdir /opt/docker
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
diff --git a/boot/vid_install.sh b/boot/vid_install.sh
index 0213b99b..33be63ab 100644
--- a/boot/vid_install.sh
+++ b/boot/vid_install.sh
@@ -19,7 +19,6 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/docker_key.txt -o /opt/config/docker_key.txt
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/vid_vm_init.sh -o /opt/vid_vm_init.sh
curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/vid_serv.sh -o /opt/vid_serv.sh
chmod +x /opt/vid_vm_init.sh
@@ -28,8 +27,6 @@ mv /opt/vid_serv.sh /etc/init.d
update-rc.d vid_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-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual