summaryrefslogtreecommitdiffstats
path: root/boot/clamp_vm_init.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-29 10:38:08 -0400
committerMarco Platania <platania@research.att.com>2017-08-29 10:38:08 -0400
commit569b54f0659cc790c0c9c2eec3a72884b6162626 (patch)
tree4e6c0e3d935c6dd0bfa956c366a6834c4373175c /boot/clamp_vm_init.sh
parent0c1136ad3537b872565bb622df7e7167f6365f4a (diff)
Add CLAMP VM to ONAP
- Extend Heat templates with CLAMP resources definition - Create installation scripts for CLAMP - Update DNS configuration Change-Id: I1db7f884f8318eceb74dace972f8ad808ac8551d Issue-ID: INT-115 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/clamp_vm_init.sh')
-rw-r--r--boot/clamp_vm_init.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/clamp_vm_init.sh b/boot/clamp_vm_init.sh
new file mode 100644
index 00000000..997e5566
--- /dev/null
+++ b/boot/clamp_vm_init.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
+OPENSTACK_USERNAME=$(cat /opt/config/openstack_username.txt)
+OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
+
+# Fetch the latest code/scripts
+cd /opt/clamp
+git pull