From 4973d3c0b14d2858e03cceeb99f37bcb404f0b33 Mon Sep 17 00:00:00 2001 From: ljf Date: Sat, 3 Jun 2017 12:28:09 +0200 Subject: [PATCH] [fix] Unable to run several vm --- ynh-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ynh-dev b/ynh-dev index 4c51ad2..2bb1b9d 100755 --- a/ynh-dev +++ b/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 #####################