From 001f7af328f99b562093302241512b51f8d0f299 Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Fri, 25 Jun 2021 20:55:05 +0200 Subject: [PATCH] Take optionally the os to test from env variable --- tests/Vagrantfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Vagrantfile b/tests/Vagrantfile index 5e3016d..0da94a0 100644 --- a/tests/Vagrantfile +++ b/tests/Vagrantfile @@ -1,5 +1,6 @@ -OS_TO_TEST = "debian/buster64" -# OS_TO_TEST = "debian/bullseye64" +# Default to buster, but just set env variable to, for example, +# "debian/bullseye64" to run test against bullseye. +OS_TO_TEST = ENV["OS_TO_TEST"] || "debian/buster64" Vagrant.configure("2") do |config| config.vm.box = OS_TO_TEST