Merge pull request #6899 from tompscanlan/fix_proxy_login

fix login behind proxy (#6898)
This commit is contained in:
Seth Vargo 2016-02-03 09:54:49 -05:00
commit 803ccfa7ae
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ module VagrantPlugins
proxy = nil
proxy ||= ENV["HTTPS_PROXY"] || ENV["https_proxy"]
proxy ||= ENV["HTTP_PROXY"] || ENV["http_proxy"]
RestClient.proxy = proxy
response = RestClient::Request.execute(
method: :post,