summaryrefslogtreecommitdiffstats
path: root/roles/ands_vagrant_vm/files/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_vagrant_vm/files/run.sh')
-rwxr-xr-xroles/ands_vagrant_vm/files/run.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/ands_vagrant_vm/files/run.sh b/roles/ands_vagrant_vm/files/run.sh
new file mode 100755
index 0000000..2fceb3d
--- /dev/null
+++ b/roles/ands_vagrant_vm/files/run.sh
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+(
+ cd configs
+
+ VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.12.254 --netmask 255.255.255.0
+# ( ip addr show | grep 12 ) || ip addr add 192.168.12.254/24 dev vboxnet0
+ ( ip addr show | grep 212 ) || ip addr add 192.168.212.254/24 dev vboxnet0
+
+ vagrant up --parallel
+ vagrant provision
+)