Vagrant: pacote omnibus chef de cache

Cansado de esperar enquanto o Vagrant baixa e instala o pacote chef ?!

Instale o plugin vagrant-cachier:

vagrant plugin install vagrant-cachier

Ative o plugin:

Vagrant.configure("2") do |config|
# ...
config
.cache.auto_detect = true
end

E adicione “pitada de mágica” a ~ / .vagrant.d / Vagrantfile :

if (defined? VagrantPlugins::Cachier && defined? VagrantPlugins::Omnibus)
ENV
['OMNIBUS_INSTALL_URL']="https://gist.github.com/hectcastro/6443633/raw/install.sh"
puts
"setting custom OMNIBUS_INSTALL_URL for vagrant-cachier: #{ENV['OMNIBUS_INSTALL_URL']}"
end

Ps: não se esqueça de correr vagrant reload

Links:

https://github.com/fgrehm/vagrant-cachier

https://github.com/fgrehm/vagrant-cachier/issues/13