jetbrains-infra / packer-builder-vsphere

Packer plugin for remote builds on VMware vSphere
Mozilla Public License 2.0
542 stars 175 forks source link

vsphere-iso: Step "StepBootCommand" failed? #105

Open dkirrane opened 6 years ago

dkirrane commented 6 years ago

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", 
Here-Be-Dragons commented 6 years ago

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.

stdevel commented 5 years ago

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?

gitcdb commented 5 years ago

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.