how do I invoke a kickstart file on RHEL7
Hello
I am testing PXE installation for RHEL7, in RHEL6 to invoke a kickstart file I usually pass this paratemer to the initrd ks=http://
Thanks
Responses
I am still struggling to get the entire way through a kickstart (unattended) but I was able to get that portion working.
This is what I am currently using
label RHEL7A
kernel RHEL-7.0-x86_64/vmlinuz
append initrd=RHEL-7.0-x86_64/initrd.img inst.ksdevice=link inst.ks=http://192.168.0.11/RHEL7A.ks inst.gpt ip=dhcp
Check out Procedure 23.2
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-howto.html
Good luck!!!
I'm trying to figure out which parameters need the "inst" precluding them, or if it simply optimizes the effect/scope of the parameter. Unfortunately you cannot simply add "inst" in front of all of your parameters ;-)
kssendmac -> inst.ks.sendmac
ks= -> inst.ks=
ip= -> ip=
If I had time, I'd put together a matrix of RHEL 6 syntax vs RHEL 7
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-startinginstall.html
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-anaconda-boot-options.html
Your kickstart is likely fine - I am struggling by using off-the-shelf PCs for my test equipment with differing amounts of UEFI support, etc... and my limited experience with GPT on the boot device (for example, I did not know what a biossetup size=1 partition was for ;-)
My PXE setup is most-definitely NOT enterprise worthy (but it's awesome for my home use). I essentially build my PXE from scratch (as opposed to Satellite/cobbler or a Vendor supplied PXE environment).
Currently I use /var/lib/tftpboot/pxelinux.cfg/default (with a matching ../menu/boot.msg) with simple labels (RHEL7A - for example). I have a timeout which defaults to LOCAL disk - that way it won't rebuild the host if I happen to boot to network first, but I am not at the keyboard.
If... I am testing some of the PXE/kickstart functionality, and I don't feel like typing the boot menu choice - I do what you had suggested and I move a file in to pxelinux.cfg based on the boot MAC and then change the default to whatever kickstart I am testing.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
