Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE get custom dhcp option (option nisplus-domain string)
2012-09-17, 16:39 (This post was last modified: 2012-09-17 16:43 by Torgeir.)
Post: #5
RE: iPXE get custom dhcp option (option nisplus-domain string)
It worked! Smile

Added to (dhcpd.conf)
append dhcp-parameter-request-list 64;

inside my scope
option nisplus-domain "somehing_useful";

Torgeir
(2012-09-17 16:14)mcb30 Wrote:  
(2012-09-17 16:11)Torgeir Wrote:  But here we have used the NIS+ string for something that would be cool to be able to get out in iPXE.

I don't understand what you're saying, sorry.

You can access the DHCP option via ${64:string}, and embed that in whatever command you like. If you want to use it as a web server address, for example, you can do something like

Code:
kernel http://${64:string}/boot.ipxe

What are you trying to do with the NIS+ server option, and what is the problem you are having?

Michael

Sorry! I was unclear.

We have a string inside the "option nisplus-domain string" that we want to add to our kickstart installer (as boot argument). So we can pick it up with cat /proc/cmdline, and then use that information by our post/pre kickstart scripts.

Torgeir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE get custom dhcp option (option nisplus-domain string) - Torgeir - 2012-09-17 16:39



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