There used to be a mention in the documentation that if you need a reboot you should run a sleep command and then perform the reboot and vagrant would just auto reconnect for the next step of the provision, but I can't for the life of me find where that went. You might have to troll the Github for Vagrant (mitchellh/vagrant) and see if I can find the previous reference to a sleep command during a provision that allows a reboot.
On Friday, May 8, 2015 at 11:30:55 PM UTC-5, Jim Klo wrote: > > Is there a way to invoke a reload during provisioning? I have a need to > reboot during the provisioning and then continue with additional scripts. > > I've tried installing this plugin > https://github.com/aidanns/vagrant-reload, but it doesn't appear to work. > > 1. I can't seem to install the plugin without using sudo on OS X Yosemite. > 2. When I do get it to install, vagrant up doesn't see the plugin unless I > use `sudo vagrant up` when just causes a whole other chain of hurt. > > Thoughts on how to proceed? > > Thanks. > > - Jim > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
