IP addresses from PXE into grub2 enviroment

2009-10-22 Thread Aleš Kapica
Greetings, I don't care about your academical and also pointless discussions. I only care for working solution, because in current state there is no way in GRUB2 how to get IP address of the machine and the server from PXE to GRUBs environment. Our solution in the one which is less invasive in

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Seth Goldberg
Having the Client IP avaible inside grub.cfg might be useful for some. Then you could have one grub.cfg for all your machines and if one or a small number of it needs some special stuff, you could just check for the IP inside the grub.cfg. Then you don't need to use a seperate one for them.

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Yoann Moulin
>>> Having the Client IP avaible inside grub.cfg might be useful for some. >>> Then you could have one grub.cfg for all your machines and if one or a >>> small number of it needs some special stuff, you could just check for >>> the IP inside the grub.cfg. Then you don't need to use a seperate one >

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Felix Zielcke
Am Donnerstag, den 15.10.2009, 00:51 -0700 schrieb Seth Goldberg: > > Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: > > > Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: > >> Hi, > >> > >>That's actually not sufficient -- we need the entire DHCPACK to be

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Vladimir 'phcoder' Serbinenko
Seth Goldberg wrote: > > > Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: > >> Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: >>> Hi, >>> >>>That's actually not sufficient -- we need the entire DHCPACK to >>> be passed >>> (somehow) to the loading kernel.

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Seth Goldberg
Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: Hi, That's actually not sufficient -- we need the entire DHCPACK to be passed (somehow) to the loading kernel. I've discussed this a bit with phcoder, and h

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Felix Zielcke
Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: > Hi, > >That's actually not sufficient -- we need the entire DHCPACK to be passed > (somehow) to the loading kernel. I've discussed this a bit with phcoder, and > he suggested adding another member to the multiboot structure o

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-14 Thread Seth Goldberg
Hi, That's actually not sufficient -- we need the entire DHCPACK to be passed (somehow) to the loading kernel. I've discussed this a bit with phcoder, and he suggested adding another member to the multiboot structure off of which we can hang the DHCPACK packet. The environment variables ma

Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-14 Thread Aleš Kapica
Could I ask you for apply patch from attachment on pxecmd.c in grub2, please? It's adding an option -s to the command pxe, which do make possible set IP addresses of the server and the client machine, got from PXE, among grub2 enviroment variables. DHCP gives IP according to MAC address, and we