Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
imgargs (ipappend 2 for red hat kickstart)
2012-09-18, 11:06
Post: #2
RE: imgargs (ipappend 2 for red hat kickstart)
(2012-09-18 10:55)Torgeir Wrote:  Newer Red Hat kickstart installations need a config like this:

kernel vmlinuz
ipappend 2
append initrd=initrd.img ks=http://server-ip/kickstart.file.ks network ksdevice=boofit

Is there anyway to make this work in iPXE?

I have tried to just insert ipappend 2 in imgargs, but that just wont work. I can skip it, and use ksdevice=eth0, but what about our users that have multiple nics in their machines?

According to http://www.syslinux.org/wiki/index.php/SYSLINUX, the "IPAPPEND 2" will cause PXELINUX to add the text "BOOTIF=<hardware-address-of-boot-interface>" to the kernel command line. You can replicate this behaviour in iPXE by expanding the ${netX/mac} variable. For example:

Code:
#!ipxe
kernel vmlinuz ks=http://server-ip/kickstart.file.ks network ksdevice=bootif BOOTIF=${netX/mac}
initrd initrd.img
boot

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: imgargs (ipappend 2 for red hat kickstart) - mcb30 - 2012-09-18 11:06



User(s) browsing this thread: 1 Guest(s)