So I am trying to deploy a centos guest on a vmware host using packer. I want to feed the kickstart file using the a floppy drive (https://www.packer.io/docs/builders/vmware-iso.html#floppy_files). So, here is my setup:
# Stolen from the last example in https://www.packer.io/docs/builders/vmware-iso.html
"builders": [
{
"type": "vmware-iso",
"guest_os_type" : "{{user `guest_os`}}",
"iso_url": "{{user `iso_url`}}",
"iso_checksum_url": "{{user `iso_checksum_url`}}",
[...]
"floppy_files": [
"floppy/ks.cfg"
],
"boot_command": [
"<tab> inst.text inst.ks=hd:fd0:/ks.cfg <enter><wait>"
],
"boot_wait": "8s",
"shutdown_command": "echo {{user `ssh_pass`}} | sudo -S shutdown -P -h now"
}
]
}
When I run it, it behaves as it cannot find the ks.cfg file and goes to the normal manual setup. Am I missing something here?