mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[fix] Unable to run several vm
This commit is contained in:
parent
b0912a4098
commit
4973d3c0b1
1 changed files with 2 additions and 2 deletions
4
ynh-dev
4
ynh-dev
|
@ -166,7 +166,7 @@ elif [ "$1" = "run" ]; then
|
|||
}
|
||||
|
||||
# Run VM
|
||||
vagrant up $VERSION --provider virtualbox
|
||||
vagrant up $VMNAME --provider virtualbox
|
||||
|
||||
# Warn user about hosts file
|
||||
IP_LINE="\s\s*${VMNAME}.vm.network\s\s*:private_network,\s*ip:\s*\""
|
||||
|
@ -177,7 +177,7 @@ elif [ "$1" = "run" ]; then
|
|||
echo ""
|
||||
|
||||
# Log into the VM
|
||||
vagrant ssh $VERSION
|
||||
vagrant ssh $VMNAME
|
||||
|
||||
|
||||
#####################
|
||||
|
|
Loading…
Add table
Reference in a new issue