vsphere-iso
: unable to overwrite ISO in packer_cache
even though checksum has changed
#55
Labels
vsphere-iso
: unable to overwrite ISO in packer_cache
even though checksum has changed
#55
This issue was originally opened by @ryan-jan as hashicorp/packer#10809. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
Apologies in advance if I am misunderstanding how this is supposed to work. I am using the vsphere-iso builder and am specifying an ISO and checksum file as follows.
This WindowsServer-2019.iso is created via a script which integrates the latest updates into the ISO before then kicking off my packer build using the generated ISO. However, packer is not uploading the ISO to the packer_cache directory as there is already an ISO of the same name in the directory (the ISO I created last month with last months updates).
I had assumed that because the checksum no longer matches the file in the packer_cache directory that packer would upload my new ISO file and overwrite the previous one. Is this not how this should work? If not, how should I deal with this situation where each month I want to overwrite the ISO in the cache with a new one?
Packer version
From
1.7.0
Operating system and Environment details
Packer is running on a Windows Server 2019 (1809) virtual machine.
The text was updated successfully, but these errors were encountered: