From b052aaa645dd8181ac3204d6d1e6d4338121e9ec Mon Sep 17 00:00:00 2001
From: Volker Hilsheimer <volker.hilsheimer@qt.io>
Date: Sat, 25 May 2019 12:32:42 +0200
Subject: [PATCH] Allow setting a box from an environment variable

Makes it easier to test provisioning.
---
 minicoin/Vagrantfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minicoin/Vagrantfile b/minicoin/Vagrantfile
index c7459fe..2822aa5 100644
--- a/minicoin/Vagrantfile
+++ b/minicoin/Vagrantfile
@@ -579,7 +579,7 @@ Vagrant.configure("2") do |config|
       puts "==> Machine without name: #{machine}"
       next
     end
-    machine_box = machine["box"]
+    machine_box = expand_env(machine["box"], nil)
     if machine_box.nil?
       puts "==> #{name}: Machine has no box set"
       next
-- 
GitLab