#! /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 )