Is there a way to start an interactive shell prompt when a line of a provisioning shell script fails?
Specifically, I have a step
provisioner "shell" {
script = "provision.sh"
}
And I want to jump into an interactive shell if any part of my provision.sh fails.
Thanks!
Is there a way to start an interactive shell prompt when a line of a provisioning shell script fails?
Specifically, I have a step
And I want to jump into an interactive shell if any part of my provision.sh fails.
Thanks!