diff --git a/README.md b/README.md index 456b77d..836cc94 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ This command create a clone of main git repositories and organize its. This command is a helper to run a Vagrant virtual machine in the right place with YunoHost installed (but not postinstalled). ```shell cd /path/to/dev/env -./ynh-dev run ynh.local unstable64 +./ynh-dev run ynh.local unstable ``` The `run` command takes 2 arguments: domain and YunoHost version. @@ -163,7 +163,7 @@ To kill the vm, just do on your host: ```shell cd /path/to/dev/env -vagrant destroy unstable64 +vagrant destroy unstable # or ./ynh-dev kill ``` @@ -172,7 +172,7 @@ To suspend the vm ```shell cd /path/to/dev/env -vagrant suspend unstable64 +vagrant suspend unstable ``` ## 2. Directly on a YunoHost instance diff --git a/ynh-dev b/ynh-dev index 0c3dffc..9c06583 100755 --- a/ynh-dev +++ b/ynh-dev @@ -32,9 +32,9 @@ VERSION stable32 testing32 unstable32 - stable64 - testing64 - unstable64 + stable + testing + unstable EOF } @@ -102,7 +102,7 @@ elif [ "$1" = "create-env" ]; then elif [ "$1" = "run" ]; then DOMAIN=$2 - VERSION='stable64' + VERSION='stable' if [ "$#" = "3" ]; then VERSION=$3 fi @@ -111,15 +111,15 @@ elif [ "$1" = "run" ]; then echo "" # Get vagrant box info from version - if [ "$VERSION" = "stable64" ]; then + if [ "$VERSION" = "stable" ]; then BOX_NAME="yunohost/jessie-amd64-stable" BOX_URL="https://build.yunohost.org/yunohost-jessie-amd64-stable.box" IP="192.168.33.80" - elif [ "$VERSION" = "testing64" ]; then + elif [ "$VERSION" = "testing" ]; then BOX_NAME="yunohost/jessie-amd64-testing" BOX_URL="https://build.yunohost.org/yunohost-jessie-amd64-testing.box" IP="192.168.33.81" - elif [ "$VERSION" = "unstable64" ]; then + elif [ "$VERSION" = "unstable" ]; then BOX_NAME="yunohost/jessie-amd64-unstable" BOX_URL="https://build.yunohost.org/yunohost-jessie-amd64-unstable.box" IP="192.168.33.82"