programatically restart vagrant box after provisioning (Vagrant 1.4+)
Date : March 29 2020, 07:55 AM
|
Vagrant provisioning fails: Cookbook vagrant not found
Date : March 29 2020, 07:55 AM
will help you Turns out it is a bug with Vagrant 1.7.2, downgrading to 1.6.5 seems to solve the problem on all affected machines.
|
Why is `source /home/vagrant/.bashrc` not working in a Vagrant shell provisioning script?
Tag : shell , By : Singularity
Date : March 29 2020, 07:55 AM
To fix the issue you can do You need to remove the “exit if not running interactively” bit (e.g. [ -z "$PS1" ] && return) from the top of your .bashrc.
|
How to halt a machine in multi-machine Vagrant setup immediately upon successful provisioning?
Date : March 29 2020, 07:55 AM
it should still fix some issue You can issue a shutdown command at the end of your test playbook. It will only be played if the rest of the tasks were successful. - name: shutdown machine
become: true
command: shutdown -h now
|
When i do a vagrant provisioning, can i ignore some provision codes from Vagrantfile on vagrant reload?
Date : March 29 2020, 07:55 AM
|