10 ARTIFACTS_VERSION="$7"
17 export HOSTNAME=`hostname`
18 echo 127.0.1.1 $HOSTNAME >>/etc/hosts
19 echo $PVTIP $HOSTNAME >>/etc/hosts
20 echo $PUBIP $HOSTNAME >>/etc/hosts
25 echo $PUBIP > /opt/config/public_ip.txt
26 echo $NEXUS_REPO > /opt/config/nexus_repo.txt
27 echo $DOCKER_REPO > /opt/config/nexus_docker_repo.txt
28 echo $NEXUS_USERNAME > /opt/config/nexus_username.txt
29 echo $NEXUS_PASSWORD > /opt/config/nexus_password.txt
30 echo $ARTIFACTS_VERSION > /opt/config/artifacts_version.txt
31 echo $DNS_IP > /opt/config/dns_ip_addr.txt
32 echo $GERRIT_BRANCH > /opt/config/gerrit_branch.txt
33 echo $CLOUD_ENV > /opt/config/cloud_env.txt
34 echo $EXETERNAL_DNS > /opt/config/external_dns.txt
35 echo $MR_REPO > /opt/config/remote_repo.txt
37 touch /opt/mr_install.sh
38 chmod 777 /opt/mr_install.sh
39 curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_install.sh -o /opt/mr_install.sh;
41 chmod +x mr_install.sh
42 /opt/mr_install.sh > mr_install.log 2>&1