grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Patch for export IP addresses from PXE into grub2 enviroment variables
Date: Thu, 15 Oct 2009 10:00:55 +0200
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

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.  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 may also
>>> have value,
>>> for other OSes that don't use multiboot.
>>>
>>>   --S
>>>
>>> Quoting Aleš Kapica, who wrote the following on Thu, 15 Oct 2009:
>>>
>>>> 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 use it to identify
>>>> the client
>>>> station by IP address.
>>>>
>>>> Thanks a lot, with regards Aleš Kapica
>>>>
>>
>> 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.
>
>  Please, no.  That's terribly non-scalable for a large number of
> clients (enterprise deployments).  We definitely need a solution that
> includes the configuration file to use as a DHCP option.
>
One doesn't prevent another. And then it will be up to administrator to
choose the way they want their system to work
>  --S
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]