summaryrefslogtreecommitdiffstats
path: root/boot/openo_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-09-20 18:27:37 -0400
committerMarco Platania <platania@research.att.com>2017-09-20 18:27:37 -0400
commit623b80c8e23a4babb41303bd5ad1a23663fcc6b5 (patch)
treeea3934697c935ba0614bfb81554192f854673c85 /boot/openo_install.sh
parent8be8e12d55102189025836c802d87865a8fe6cf3 (diff)
Fix docker installation in OPEN-O VM
Change-Id: Ib636ec64cf2d634bb4db5fff651d18d165fb6bf2 Issue-ID: INT-213 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/openo_install.sh')
-rw-r--r--boot/openo_install.sh14
1 files changed, 4 insertions, 10 deletions
diff --git a/boot/openo_install.sh b/boot/openo_install.sh
index ebf38616..0f36497a 100644
--- a/boot/openo_install.sh
+++ b/boot/openo_install.sh
@@ -59,18 +59,20 @@ curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/msb_vm_init.sh -o /opt
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mvim_vm_init.sh -o /opt/mvim_vm_init.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/vfc_vm_init.sh -o /opt/vfc_vm_init.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/uui_vm_init.sh -o /opt/uui_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_all_serv.sh -o /opt/openo_all_serv.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_serv.sh -o /opt/openo_serv.sh
chmod +x /opt/vnfsdk_vm_init.sh
chmod +x /opt/msb_vm_init.sh
chmod +x /opt/mvim_vm_init.sh
chmod +x /opt/vfc_vm_init.sh
chmod +x /opt/uui_vm_init.sh
+chmod +x /opt/openo_all_serv.sh
chmod +x /opt/openo_serv.sh
mv /opt/openo_serv.sh /etc/init.d
update-rc.d openo_serv.sh defaults
# Download and install docker-engine and docker-compose
-echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
+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 --allow-unauthenticated docker-engine
@@ -115,12 +117,4 @@ then
reboot
fi
-./msb_vm_init.sh
-sleep 2
-./vnfsdk_vm_init.sh
-sleep 2
-./mvim_vm_init.sh
-sleep 2
-./vfc_vm_init.sh
-sleep 2
-./uui_vm_init.sh \ No newline at end of file
+./openo_all_serv.sh \ No newline at end of file