[OVA]Destroy the Packer VM once image build is successful
DimpleRajaVamsi opened this issue · 0 comments
DimpleRajaVamsi commented
What steps did you take and what happened:
Triggered Photon 3/Ubuntu 22.04 EFI OVA targets and after the OVA is successfully generated Packer VM still exists on the vCenter.
What did you expect to happen:
Packer VM to be deleted from the vCenter inventory.
Anything else you would like to add:
destory parameter the vsphere-iso
/vsphere-clone
can be used to clean up the Packer VM after successful OVA generation.
Environment:
Project (Image Builder for Cluster API):
Additional info for Image Builder for Cluster API related issues:
- OS (e.g. from
/etc/os-release
, orcmd /c ver
): Photon - Packer Version: 1.9.1
- Packer Provider: vsphere-iso
- Ansible Version: 2.11.5
- Cluster-api version (if using):
- Kubernetes version: (use
kubectl version
):
/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]