You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
Problem with auto VMware Tools ISO to upload into the VM
Error: * unknown configuration key: '"tools_upload_flavor"'
Only works uploading directly ISO with command
"iso_paths": [
"[] /vmimages/tools-isoimages/windows.iso"
]
Packer version
packer -v
1.7.2
Simplified Packer Buildfile
{
"builders": [
{
"cluster": "Test",
"communicator": "winrm",
"convert_to_template": "false",
"cpus": "2",
"datastore": "Kingston",
"disk_controller_type": "lsilogic-sas",
"floppy_files": [
"setup\Autounattend.xml",
"setup\script\Config_WinRM.ps1",
"setup\script\Cleaning.ps1"
],
"guest_os_type": "windows9_64Guest",
"host": "192.168.10.152",
"insecure_connection": "true",
"tools_upload_flavor": "windows",
"iso_paths": [
"[Kingston] IsoSSD/Windows10pro.iso",
],
"provisioners": [
{
"type": "powershell",
"scripts": [
"setup/script/Cleaning.ps1"
]
}
]
}
Operating system and Environment details
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Log Fragments and crash.log files
D:\DEvops\packer> packer build -force .\Windows\VM-Create.json
Error: Failed to prepare build: "vsphere-iso"
1 error occurred:
* unknown configuration key: '"tools_upload_flavor"'
==> Wait completed after 0 seconds
==> Builds finished but no artifacts were created.
The text was updated successfully, but these errors were encountered: