Merge pull request #6899 from tompscanlan/fix_proxy_login
fix login behind proxy (#6898)
This commit is contained in:
commit
803ccfa7ae
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue