Is it possible to catch non-zero exit codes from my shell provisioner instead of exiting the provisioner immediately?
9 views
Skip to first unread message
Niko
unread,
Feb 20, 2018, 9:40:28 AM2/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
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?
Yves Guerin
unread,
Feb 22, 2018, 9:07:24 AM2/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message