[microdecision] Using IP starting at .2 instead of .1 to avoid inaccessible webadmin

This commit is contained in:
Alexandre Aubin 2017-07-03 17:33:09 +02:00
parent 5dc4bc6ce7
commit 28889a2532

View file

@ -149,7 +149,7 @@ elif [ "$1" = "run" ]; then
vagrant status $VMNAME &> /dev/null || { vagrant status $VMNAME &> /dev/null || {
# Find an available ip # Find an available ip
for i in `seq 1 254`; for i in `seq 2 254`;
do do
grep "${IP_BASE//./\.}$i" Vagrantfile &> /dev/null || { grep "${IP_BASE//./\.}$i" Vagrantfile &> /dev/null || {
IP="${IP_BASE}$i" IP="${IP_BASE}$i"