programatically restart vagrant box after provisioning (Vagrant 1.4+)

vagrant

Solution

You could give a try to this Vagrant plugin I've written:

https://github.com/emyl/vagrant-triggers

Once installed, you should put in your `Vagrantfile` something like:

config.trigger.after :provision, :execute => "vagrant reload"

Problem

I have some fairly complex provisioning on a box, after which I would like to programatically do the equivalent of `vagrant reload`. The best solution I have seen is here, however the code at that link seems to be broken on Vagrant 1.4+ (see the comments below the code). Question: Are there any instructions for Vagrant 1.4?

Original source

Related problems