Packer Kickstart Problem
My Kickstart file isn’t working!
I ran into an issue with Packer when building a template for Centos7. I was following every online example or template I could find, with no success.
There were no errors thrown during installation, but the kickstart file didn’t appear to be doing anything.
Problem:
The Kickstart file was being ignored.
Every Packer example I could find used .cfg
and looked something like this:
"boot_command": ["<tab> text ks=http://:/ks.cfg<enter><wait>"]
or:
"boot_command": ["<esc><wait>linux inst.ks=hd:fd0:/kickstart.cfg<enter>"]
Solution:
The Centos7 Docs examples all use .ks
extension so I switched from .cfg
to .ks
and it worked perfectly.
"boot_command": [
"<esc>",
"<wait>",
"linux inst.ks=hd:fd0:/kickstart.ks",
"<enter>"
]