mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[microdecision] Using IP starting at .2 instead of .1 to avoid inaccessible webadmin
This commit is contained in:
parent
5dc4bc6ce7
commit
28889a2532
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
ynh-dev
|
@ -149,7 +149,7 @@ elif [ "$1" = "run" ]; then
|
|||
vagrant status $VMNAME &> /dev/null || {
|
||||
|
||||
# Find an available ip
|
||||
for i in `seq 1 254`;
|
||||
for i in `seq 2 254`;
|
||||
do
|
||||
grep "${IP_BASE//./\.}$i" Vagrantfile &> /dev/null || {
|
||||
IP="${IP_BASE}$i"
|
||||
|
|
Loading…
Add table
Reference in a new issue