mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Add user message about domain/ip and hosts file.
This commit is contained in:
parent
6802e648f7
commit
474bd42d5c
1 changed files with 13 additions and 0 deletions
13
ynh-dev
13
ynh-dev
|
@ -105,6 +105,19 @@ elif [ "$1" = "run" ]; then
|
|||
VERSION=$3
|
||||
fi
|
||||
|
||||
if [ "$VERSION" = "stable" ]; then
|
||||
IP="192.168.33.80"
|
||||
elif [ "$VERSION" = "testing" ]; then
|
||||
IP="192.168.33.81"
|
||||
elif [ "$VERSION" = "unstable" ]; then
|
||||
IP="192.168.33.82"
|
||||
fi
|
||||
|
||||
echo "Creating $DOMAIN virtual machine with YunoHost $VERSION version"
|
||||
echo ""
|
||||
echo "/!\ Please add '$IP $DOMAIN' to your /etc/hosts file /!\\"
|
||||
echo ""
|
||||
|
||||
vagrant up $VERSION
|
||||
vagrant ssh $VERSION
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue