Dear,

I run this:

Vagrantfile
  - shell exec ./provisioner/bootstrap.sh
    -- ./provisioner/bootstrap.sh exec ../modules/install.sh
    my bootstrap.sh trap the error code from ../modules/install.sh so I am 
able to decide what to do after.


Le mardi 20 février 2018 09:40:28 UTC-5, Niko a écrit :
>
> I want my provisioner to catch certain return codes from my provisioning 
> script, but unfortunately Vagrant processes any non-zero codes as an 
> "error" (which is not the case). Is there any way to handle the exception 
> and continue instead?
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/e6e11c03-0d6a-4a9b-afdd-6e50e88e4acc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to