Code Review
/
demo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update VID docker version per latest manifest
[demo.git]
/
boot
/
aai_vm_init.sh
1
#!/bin/bash
2
3
AAI_INSTANCE=$(cat /opt/config/aai_instance.txt)
4
5
cd /opt/test-config
6
git pull
7
8
if [[ $AAI_INSTANCE == "aai_instance_1" ]]
9
then
10
./deploy_vm1.sh
11
elif [[ $AAI_INSTANCE == "aai_instance_2" ]]
12
then
13
./deploy_vm2.sh
14
else
15
echo "Invalid instance. Exiting..."
16
fi