summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-03-27 07:32:28 +0200
committerHelmut Grohne <helmut@subdivi.de>2023-03-27 07:32:28 +0200
commitaf316faaa00c7fc51612a5924eb731ad45189fa6 (patch)
treec3631ad743dc7235f791cad60fae6c05362157f5
parent214538d0179590bdddc4255bb15a235c88b27468 (diff)
downloaddebvm-af316faaa00c7fc51612a5924eb731ad45189fa6.tar.gz
tests: stretch also moved to archive.debian.org
-rwxr-xr-xtests/create-and-run.sh6
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