From 4212065e7c27652bb234fc883c4020df775df5a5 Mon Sep 17 00:00:00 2001 From: sgarlick987 Date: Thu, 20 Feb 2014 20:19:35 -0500 Subject: [PATCH] Configure Proxy Before not After Omnibus Was trying to get the vagrant-omnibus plugin working behind a corporate proxy today and it was working fine for everything else but timing out for the omnibus plugin. I'm very new to ruby/vagrant/etc but I'm thinking this is the reason. Thanks for all your work, this plugin has cured almost all my proxy headaches. --- lib/vagrant-proxyconf/hook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-proxyconf/hook.rb b/lib/vagrant-proxyconf/hook.rb index eb63a01..97ae636 100644 --- a/lib/vagrant-proxyconf/hook.rb +++ b/lib/vagrant-proxyconf/hook.rb @@ -22,7 +22,7 @@ class Plugin < Vagrant.plugin('2') # configure the proxies before vagrant-omnibus if defined?(VagrantPlugins::Omnibus::Action::InstallChef) - hook.after VagrantPlugins::Omnibus::Action::InstallChef, Action.configure + hook.before VagrantPlugins::Omnibus::Action::InstallChef, Action.configure end # configure the proxies before vagrant-vbguest