diff --git a/builtin/provisioners/chef/linux_provisioner_test.go b/builtin/provisioners/chef/linux_provisioner_test.go index b068df30ce..89fae2b3f0 100644 --- a/builtin/provisioners/chef/linux_provisioner_test.go +++ b/builtin/provisioners/chef/linux_provisioner_test.go @@ -328,4 +328,6 @@ ENV['https_proxy'] = "https://proxy.local" ENV['HTTPS_PROXY'] = "https://proxy.local" -no_proxy "http://local.local,https://local.local"` + +no_proxy "http://local.local,https://local.local" +ENV['no_proxy'] = "http://local.local,https://local.local"` diff --git a/builtin/provisioners/chef/windows_provisioner_test.go b/builtin/provisioners/chef/windows_provisioner_test.go index 11e61d8883..13604d6c92 100644 --- a/builtin/provisioners/chef/windows_provisioner_test.go +++ b/builtin/provisioners/chef/windows_provisioner_test.go @@ -355,4 +355,6 @@ ENV['https_proxy'] = "https://proxy.local" ENV['HTTPS_PROXY'] = "https://proxy.local" -no_proxy "http://local.local,https://local.local"` + +no_proxy "http://local.local,https://local.local" +ENV['no_proxy'] = "http://local.local,https://local.local"`