mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[enh] Display command to add ip in /etc/hosts
This commit is contained in:
parent
1809ef8545
commit
e46be5f842
1 changed files with 1 additions and 0 deletions
1
ynh-dev
1
ynh-dev
|
@ -137,6 +137,7 @@ elif [ "$1" = "run" ]; then
|
||||||
|
|
||||||
# Warn user about hosts file
|
# Warn user about hosts file
|
||||||
echo "/!\ Please add '$IP $DOMAIN' to your /etc/hosts file /!\\"
|
echo "/!\ Please add '$IP $DOMAIN' to your /etc/hosts file /!\\"
|
||||||
|
echo "sudo su -c \"echo '$IP $DOMAIN' >> /etc/hosts\" root"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Log into the VM
|
# Log into the VM
|
||||||
|
|
Loading…
Add table
Reference in a new issue