aboutsummaryrefslogtreecommitdiffstats
path: root/boot/clamp_vm_init.sh
diff options
context:
space:
mode:
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