summaryrefslogtreecommitdiffstats
path: root/roles/ands_vagrant_vm/files/run.sh
blob: 2fceb3d6a4602b5ff995cab72c6a87bf67f89ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
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
)