Can you share the error message you got from packer please.
I’m just trying this myself and it fails for me because the CentOS ISO mirror we use no longer has CentOS 7 1804. It has been updated to 1810.
diff --git a/packer/vmware/esxi/centos_base.json b/packer/vmware/esxi/centos_base.json
index defff26..9348538 100644
--- a/packer/vmware/esxi/centos_base.json
+++ b/packer/vmware/esxi/centos_base.json
@@ -18,9 +18,9 @@
"headless": false,
"disk_size": 50000,
"disk_additional_size": [2000,5000],
- "iso_checksum": "13675c6f74880e7ff3481b91bdaf925ce81bda8f",
- "iso_checksum_type": "sha1",
+ "iso_checksum": "38d5d51d9d100fd73df031ffd6bd8b1297ce24660dc8c13a3b8b4534a4bd291c",
+ "iso_checksum_type": "sha256",
"shutdown_command": "sudo -S /usr/sbin/shutdown -h now",
"ssh_username": "{{user `username`}}",
"ssh_password": "{{user `password`}}",
@@ -76,4 +76,4 @@
"packer_vcenter_username": "{{env `PACKER_VCENTER_USERNAME`}}",
"packer_vcenter_password": "{{env `PACKER_VCENTER_PASSWORD`}}"
}
- }
\ No newline at end of file
+ }