Skip to content

molecule-vagrant does not run box remove on destroy. #290

Open
@r-pufky

Description

To idemptotently destroy a vagrant VM, you must run vagrant box remove box/name otherwise remenants of the VM will remain when re-running molecule create steps, leading hard to debug errors.

Here's the vagrant documentation specifying as such: https://developer.hashicorp.com/vagrant/docs/cli/destroy

On molecule destroy, vagrant should also call vagrant box remove box/name to ensure idempotent testing conditions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions