packer-builder-vsphere icon indicating copy to clipboard operation
packer-builder-vsphere copied to clipboard

Floppies not deleted when VM destroyed

Open bby-bishopclark opened this issue 6 years ago • 0 comments

v2.1: This is either related to #137 or a repeat.

On teardown (in this case after an error), the floppies are not being deleted, and thus the VM folders remain. It sounds exactly like #137.

==> vsphere-iso: Provisioning with shell script: scripts/nscd.sh
    vsphere-iso: Failed to execute operation: No such file or directory
==> vsphere-iso: Power off VM...
==> vsphere-iso: Destroying VM...

I'd love to see something between power-off and destruction, where that floppy image is nuked. Is there something blocking us from emulating the same behaviour as when a human chooses to delete a VM? (because that wipes the floppy image too)

bby-bishopclark avatar Dec 10 '18 16:12 bby-bishopclark