From 7bf415beeb5b0f97ecdfb12d504d10573d6a528b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 15 Aug 2017 04:55:00 +0200 Subject: [PATCH] Add unstable stretch box --- ynh-dev | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ynh-dev b/ynh-dev index 14885ab..d1acb54 100755 --- a/ynh-dev +++ b/ynh-dev @@ -129,6 +129,9 @@ elif [ "$1" = "run" ]; then elif [ "$VERSION" = "unstable" ]; then BOX_NAME="yunohost/jessie-unstable" BOX_URL="https://build.yunohost.org/yunohost-jessie-unstable.box" + elif [ "$VERSION" = "stretch-unstable" ]; then + BOX_NAME="yunohost/stretch-unstable" + BOX_URL="https://build.yunohost.org/yunohost-stretch-unstable.box" else echo "ERROR: Incorrect version '$VERSION'. See '$(basename $0) --help' for usage." exit 102 @@ -170,7 +173,7 @@ elif [ "$1" = "run" ]; then # Adapt vagrantfile sed -i "/ ### END AUTOMATIC YNH-DEV ###/ i \\ config.vm.define \"${VMNAME}\" do |${VMNAME}| \ -\n ${VMNAME}.vm.box = \"yunohost/jessie-${VERSION}\" \ +\n ${VMNAME}.vm.box = \"${BOX_NAME}\" \ \n ${VMNAME}.vm.network :private_network, ip: \"${IP}\" \ \n end \ \n" ./Vagrantfile