diff options
Diffstat (limited to 'boot/vfc_vm_init.sh')
-rwxr-xr-x | boot/vfc_vm_init.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/vfc_vm_init.sh b/boot/vfc_vm_init.sh new file mode 100755 index 00000000..5e8df727 --- /dev/null +++ b/boot/vfc_vm_init.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Establish environment variables +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) +DOCKER_IMAGE_VERSION=$(cat /opt/config/vfc_docker.txt) + +# Refresh images +docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO + +# Insert docker run instructions here
\ No newline at end of file |