Packer delete cached iso

2.7k Views Asked by At

I'm using packer for ova files creation. I'm running it on a nested ESXi. I couldn't find a way to delete the cached iso, which is stored by default at: /vmfs/volumes/datastore1/packer_cache/*.iso (assuming that I'm using datastore1 as my datastore).

2

There are 2 best solutions below

1
On

Use the vSphere (web) client. Browse to the database, select the file(s) and remove them. See VMware vSphere 5.1 Documentation Center for more information.

0
On

No, Packer will create this folder to store supporting files if remote_type is used. One have to remove the folder manually afterwards.