mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Add unstable stretch box (#31)
This commit is contained in:
parent
896e6a1e5c
commit
40b22fb02d
1 changed files with 4 additions and 1 deletions
5
ynh-dev
5
ynh-dev
|
@ -133,6 +133,9 @@ elif [ "$1" = "run" ]; then
|
||||||
elif [ "$VERSION" = "unstable" ]; then
|
elif [ "$VERSION" = "unstable" ]; then
|
||||||
BOX_NAME="yunohost/jessie-unstable"
|
BOX_NAME="yunohost/jessie-unstable"
|
||||||
BOX_URL="https://build.yunohost.org/yunohost-jessie-unstable.box"
|
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
|
else
|
||||||
echo "ERROR: Incorrect version '$VERSION'. See '$(basename $0) --help' for usage."
|
echo "ERROR: Incorrect version '$VERSION'. See '$(basename $0) --help' for usage."
|
||||||
exit 102
|
exit 102
|
||||||
|
@ -174,7 +177,7 @@ elif [ "$1" = "run" ]; then
|
||||||
# Adapt vagrantfile
|
# Adapt vagrantfile
|
||||||
sed -i "/ ### END AUTOMATIC YNH-DEV ###/ i \\
|
sed -i "/ ### END AUTOMATIC YNH-DEV ###/ i \\
|
||||||
config.vm.define \"${VMNAME}\" do |${VMNAME}| \
|
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 ${VMNAME}.vm.network :private_network, ip: \"${IP}\" \
|
||||||
\n end \
|
\n end \
|
||||||
\n" ./Vagrantfile
|
\n" ./Vagrantfile
|
||||||
|
|
Loading…
Add table
Reference in a new issue