diff options
-rwxr-xr-x | tests/create-and-run.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh index 8d30d7f..392a691 100755 --- a/tests/create-and-run.sh +++ b/tests/create-and-run.sh @@ -25,7 +25,11 @@ case "$ARCHITECTURE" in armel) ARCHITECTURE=armel,armhf ;; esac MIRROR= -test "$RELEASE" = jessie && MIRROR=http://archive.debian.org/debian +case "$RELEASE" in + jessie|stretch) + MIRROR=http://archive.debian.org/debian + ;; +esac debvm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -r "$RELEASE" -- --architectures="$ARCHITECTURE" $MIRROR SSH_PORT=2222 |