Skip to content

How to build an image in debug mode #364

Description

@Nate711

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions