Re: config files when network booting

2002-05-03 Thread James Carter
On Thu, 2002-05-02 at 22:09, Pavel Roskin wrote: > > Would not it be better to add this feature to the tftp server? It's > easier to improve one server than every client. Besides, nobody wants > bloat in the bootloader useful just for a few users. fair enough - although i wouldn't really call

Re: config files when network booting

2002-05-02 Thread Pavel Roskin
Hello, James! > for example if tag 150 is "/tftpboot/byip/" and the machines ip address > is 12.34.56 then grub will load "/tftpboot/byip/12.34.56". Would not it be better to add this feature to the tftp server? It's easier to improve one server than every client. Besides, nobody wants bloat i

Re: config files when network booting

2002-05-02 Thread James Carter
oops! spot the deliberate mistake! here's an updated patch that won't crash if the tailing slash is ommited. :-) -- J.F.Carter http://www.jfc.org.uk/ Only in grub/docs: grub.info Only in grub/docs: grub.info-1 Only in grub/docs: grub.info-2 Only in grub/docs: grub.info-3

config files when network booting

2002-05-02 Thread James Carter
hi, all. i've make a small patch to grub to allow it to use a config files based on ip address when booting. if vendor tag 150 contains the name of a directory (ie the last character is '/') then it will append the machine's ip address. for example if tag 150 is "/tftpboot/byip/" and the machine

config files when network booting

2002-05-02 Thread James Carter
[i'm resending this mail - it didn't seem to reach the list first time round] hi, all. i've make a small patch to grub to allow it to use a config files based on ip address when booting. if vendor tag 150 contains the name of a directory (ie the last character is '/') then it will append the mac