mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Suggested command doesn't work (#32)
This commit is contained in:
parent
1cde7fabe7
commit
4750098185
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
ynh-dev
|
@ -186,7 +186,7 @@ VERSION as stable, testing or unstable /!\ "
|
|||
IP_LINE="\s\s*${VMNAME}.vm.network\s\s*:private_network,\s*ip:\s*\""
|
||||
IP=$(grep "$IP_LINE" Vagrantfile | sed "s/${IP_LINE}//" | tr -d '"')
|
||||
echo "/!\ Please add '$IP $DOMAIN' to your /etc/hosts file /!\\"
|
||||
echo "sudo sh -s 'echo \"$IP $DOMAIN\" >> /etc/hosts'"
|
||||
echo "sudo bash -c 'echo \"$IP $DOMAIN\" >> /etc/hosts'"
|
||||
echo ""
|
||||
|
||||
# Log into the VM
|
||||
|
|
Loading…
Add table
Reference in a new issue