packer-builder-vsphere
packer-builder-vsphere copied to clipboard
vsphere-iso: Step "StepBootCommand" failed?
What's the boot_command
for Centos 7 on vSphere 6.5?
I'm trying the following but hit the error vsphere-iso: Step "StepBootCommand" failed?
"iso_paths": [
"[Datastore1] ISOs/CentOS-7-x86_64-Minimal-1708.iso"
],
"floppy_files": [
"kickstart/ks.cfg"
],
"boot_wait": "10s",
"boot_command": "<tab> text inst.ks=hd:fd0:/ks.cfg <enter><wait>",
"boot_order": "disk,cdrom",
I'm having the same issue here. It doesn't appear to ever attempt to enter anything into the console. vSphere 6.5, trying to install RHEL7.
I'm having similar issues with SLES 15 on vSphere 6.7. I figured out, that the boot command actually works when I open the VM console while Packer is running. Does this also work for you?
There's two threads on the same issue, perhaps more. Not sure this is actively being worked on or not, but if there was a debug version we could trace through it might help. Is the plugin even sending anything? It doesn't appear to be. If it was and the text it passed was incorrect, the VM would not boot properly, but you'd at least see something happen. The way it seems to be working today, is that it might get to the point where it issues the command, chooses not to, and destroys the machine.