lib/vagrant/util/downloader.rb in vagrant-unbundled-2.0.0.1 vs lib/vagrant/util/downloader.rb in vagrant-unbundled-2.0.1.0
- old
+ new
@@ -295,11 +295,10 @@
subprocess_options = {}
# If we're in Vagrant, then we use the packaged CA bundle
if Vagrant.in_installer?
subprocess_options[:env] ||= {}
- subprocess_options[:env]["CURL_CA_BUNDLE"] =
- File.expand_path("cacert.pem", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
+ subprocess_options[:env]["CURL_CA_BUNDLE"] = ENV["CURL_CA_BUNDLE"]
end
return [options, subprocess_options]
end
end