Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPxe with config file
2014-12-23, 10:03
Post: #1
iPxe with config file
Hi,

I read about the custom scripts, but is there a way i can have a config file/custom script which can be changed later without rebuilding/recompiling the code ?

For example, below is my custom script:
#!ipxe
dhcp
chain http://blahblah.bla/BootServer/boot.cfg

Now in future, if i change my tftp server from blahblah to xyz, so in this case do i still need to rebuild the code with a new script or a simple config change would work ?

Thanks in advance
Find all posts by this user
Quote this message in a reply
2014-12-26, 11:49
Post: #2
RE: iPxe with config file
If you build your embedded script pointing to a hostname in the URL it should be fairly simple to ensure all locations resolve this hostname using a DNS A/CNAME record. If you're not able to control the DNS resolution in the network then you need to rebuild whenever you change the IP/hostname. You can use a short hostname, it doesn't need to be a FQDN if your DHCP server replies with proper DNS search lists.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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