vagrat-proxycof是Vagrat的代理配置插件。
一个Vagrat的插件,配置虚拟机使用指定的代理。如果你是一个公司的代理服务器之后,例如这是有用的,或者你有一个代理缓存(例如Polipo)。
该插件可以设置:
geerichttp_proxyetc.evirometvariablesthatmayprogramssupport
defaultproxycofiguratioforallChefprovisioers
作为Apt代理配置
作为Docker代理配置
作为Git代理配置
作为pm代理配置
作为PEAR代理配置
作为Subversio代理配置
作为Yum的代理配置
简单的Widows代理配置
配置
Vagrat.cofigure("2") do |cofig| if Vagrat.has_plugi?("vagrat-proxycof") cofig.proxy.http = "https://192.168.0.2:3128/" cofig.proxy.https = "https://192.168.0.2:3128/" cofig.proxy.o_proxy = "localhost,127.0.0.1,.example.com" ed # ... other stuffed
评论