aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-09-26 09:53:44 -0400
committerMarco Platania <platania@research.att.com>2018-09-26 09:53:44 -0400
commit18ef61806ca74186ef1b45c5b854c4b2658f857c (patch)
tree5075d62ccd2084bdd16b27ad9fe6adb4624b761e /boot
parent503068c084efe36f2349413679a3f3602641b094 (diff)
Fix DCAE deployment in Heat
Change-Id: If5be263616df3e0e726d8a111862fa017d0b8fa6 Issue-ID: INT-669 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot')
-rwxr-xr-xboot/dcae2_vm_init.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/boot/dcae2_vm_init.sh b/boot/dcae2_vm_init.sh
index f423256e..e4288195 100755
--- a/boot/dcae2_vm_init.sh
+++ b/boot/dcae2_vm_init.sh
@@ -23,11 +23,6 @@
set -ex
-# add well-known DCAE hostname aliases
-echo "$(cat /opt/config/dcae_ip_addr.txt) consul" >>/etc/hosts
-echo "$(cat /opt/config/dcae_ip_addr.txt) dockerhost" >>/etc/hosts
-
-
URL_ROOT='nexus.onap.org/service/local/repositories/raw/content'
REPO_BLUEPRINTS='org.onap.dcaegen2.platform.blueprints'
REPO_DEPLOYMENTS='org.onap.dcaegen2.deployments'
@@ -52,6 +47,8 @@ then
export https_proxy=$HTTPS_PROXY
fi
+# clean up old network configuration in docker engine
+docker network rm config_default
docker login -u "$NEXUS_USER" -p "$NEXUS_PASSWORD" "$NEXUS_DOCKER_REPO"