Re: [Etherboot-users] Tftpserver override
Brought to you by:
marty_connor,
stefanhajnoczi
From: Anselm M. H. <an...@ho...> - 2005-09-12 20:12:40
|
Am Montag, den 12.09.2005, 14:34 -0500 schrieb Simon White: > Hi, > > After looking through the docs I'm guessing the answer is no, but is there anyway to override or provide the tftpserver address by hardcoding it localally (e.g. in the output image). For various reasons I cannot get the main dhcp sever config changed and would not be allowed to setup a secondary. Of course I could attempt such a thing without knowledge higher up but should any problems occur there would not go down at all well. > > If not a convienient way to override would a possible simple code change do the trick, any hints possible? May I assume you have control over the "filename" in DHCP config? In that case, you could use something like tftp://10.0.0.1//kernel.nbi as filename, which should be parsed by etherboot to be a "hidden" next-server statement. If you do not even have control over the filename that goes through the wire: Do they send one at all? If not, the DEFAULT_FILENAME (option name may be a bit different - don't remember) might be your friend. BR Anselm |