How to Specify Kickstart file without having to manually press TAB key

Issues related to applications and software problems
Post Reply
cally725
Posts: 2
Joined: 2017/07/18 19:55:13

How to Specify Kickstart file without having to manually press TAB key

Post by cally725 » 2017/07/18 19:59:15

Hi,

I would like to completely automate my Linux installation with Kickstart. However I need to press on TAB when the GRUB menu appear to specify the name of my Kickstart file.

Is there a way to specify the Kickstart name in the vbox file to avoid having to press the TAB key.

More info...

I boot from an iso mounted on the optical IDE port.

For instance when starting the VM, the CentOS menu appears like this:

CentOS Linux 7

Install CentOS Linux 7
Test this media & install CentOS Linux 7
Troubleshooting

Now if I press <TAB Key> I get the following line at the bottom of the screen:

>vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\0x207\x20x86_64 quiet

I need to change this line to:

>vmlinuz initrd=initrd.img ks=path_to_cfg_file.ks.cfg

How can I do that without having to manually intervene ?

Thanks for your help.

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: How to Specify Kickstart file without having to manually press TAB key

Post by stevemowbray » 2017/07/19 13:33:15

The way I do it is not to use an ISO but set up a PXE server to do a network install.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to Specify Kickstart file without having to manually press TAB key

Post by hunter86_bg » 2017/07/19 13:41:20

Or you can recreate your iso where the first (default option) points to a kickstart file on a remote server.

Post Reply