Can't feed kickstart file from floppy

39 views
Skip to first unread message

Mauricio Tavares

unread,
Sep 13, 2019, 10:51:57 AM9/13/19
to Packer
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?

Rickard von Essen

unread,
Sep 13, 2019, 1:21:26 PM9/13/19
to packe...@googlegroups.com
Pretty sure floppy support in kickstart was removed in recent versions of EL. 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/771f2a19-3b3b-416f-8c2f-aa80f0a42712%40googlegroups.com.

Rickard von Essen

unread,
Sep 13, 2019, 1:24:17 PM9/13/19
to packe...@googlegroups.com
See this issue for some details https://github.com/hashicorp/packer/issues/2920
Reply all
Reply to author
Forward
0 new messages