Open ghost opened 3 years ago
Hello there, thanks for opening, this should have been solved by #30, you can try the most recent release of this plugin ! Please tell us if something's wrong !
@azr this problem is still reproducible on version v1.0.3.
Added the following to the simplified packer buildfile to make sure I'm using the latest version of the plugin:
packer {
required_version = ">= 1.7.0"
required_plugins {
vmware = {
source = "github.com/hashicorp/vmware"
version = ">= 1.0.3"
}
}
}
I also have a similar issue when build against a remote ESXi Hypervisor vith the current v1.0.7. the cd is created and uploaded but not mounted ! adding
vmx_data = {
"sata1.present": "TRUE",
}
Make the cdrom to be mounted
Have you set the following?
cdrom_adapter_type = "sata"
When try with cdrom_adapter_type = "data"
i get the following error:
2024/09/03 15:16:34 packer-plugin-vmware_v1.1.0_x5.0_windows_amd64.exe plugin: 2024/09/03 15:16:34 [TRACE] starting builder iso
Error: 1 error(s) occurred:
* cdrom_adapter_type must be one of ide, sata, or scsi
When try with
cdrom_adapter_type = "data"
i get the following error:
cdrom_adapter_type = "sata"
I think I have tracked this issue down and will plan to address it for the next release, v1.1.1.
This issue was originally opened by @t0rr3sp3dr0 as hashicorp/packer#10935. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview of the Issue
The latest version of Packer doesn't seem to attach the cd_files generated ISO to the VM upon start.
It only works when adding the following setting:
Reproduction Steps
packer build
Packer version
Simplified Packer Buildfile
Operating system and Environment details
Log Fragments and crash.log files