I hereby claim:
- I am gsfjohnson on github.
- I am gsfjohnson (https://keybase.io/gsfjohnson) on keybase.
- I have a public key ASDSjSKlYiEGnkHtH9d9xcn9OYMQ_8lVwzREwGf5zKQzdgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# URI of the local (caching) HTTP proxy | |
LOCAL_HTTP_PROXY = 'http://192.168.33.200:8123' | |
# Configures vagrant-cachier and vagrant-proxyconf. | |
# Should be called only on "local machine" providers. | |
def configure_caching(config) | |
if Vagrant.has_plugin?('vagrant-cachier') | |
config.cache.enable_nfs = true | |
config.cache.enable :gem | |
config.cache.enable :npm |
# vagrant plugin install vagrant-proxyconf | |
Vagrant.configure(2) do |config| | |
if Vagrant.has_plugin?("vagrant-proxyconf") | |
if ENV["http_proxy"] | |
config.proxy.http = ENV["http_proxy"] | |
puts "http_proxy: " + config.proxy.http | |
end | |
if ENV["https_proxy"] | |
config.proxy.https = ENV["https_proxy"] |