Vagrant virtualbox worker env override fixes

* Change ENV var check to only validate the existence of the
  var in the local env
* Add VAGRANT_WORKER_SCALE env variable override to control
  GUI scaling for virtualbox

Signed-off-by: James W. Brinkerhoff <jwb@paravolve.net>
This commit is contained in:
James W. Brinkerhoff
2020-09-22 21:40:51 -04:00
parent 4ba30f0ff7
commit adfccfb1b0
2 changed files with 12 additions and 3 deletions

View File

@ -95,7 +95,6 @@ func TestVagrantSetupGuide(t *testing.T) {
t.Logf("WorkflowID: %s", workflowID)
os.Setenv("VAGRANT_WORKER_GUI", "false")
worker, err := vagrant.Up(ctx,
vagrant.WithLogger(t.Logf),
vagrant.WithMachineName("worker"),