help-grub
[Top][All Lists]
Advanced

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

Re: Can GRUB2 request netboot config based on client MAC or IP?


From: Andrey Borzenkov
Subject: Re: Can GRUB2 request netboot config based on client MAC or IP?
Date: Sun, 23 Jun 2013 07:50:15 +0400

В Sat, 22 Jun 2013 16:22:31 -0400
Andrew Davidoff <address@hidden> пишет:

> On Sat, Jun 22, 2013 at 7:18 AM, Andrey Borzenkov <address@hidden> wrote:
> > Yes, there is regexp command. As you are using current bzr sources,
> > this command is documented there.
> 
> Thanks Andrey. I got this all working. One thing - it seems that I am
> unable to export $net_default_mac so that subsidiary configfile's can
> see it. If I do:
> 
> export net_default_mac
> 
> in grub.cfg then load another config, net_default_mac is set to
> (null). If however I set my own variable to the value of
> $net_default_mac in grub.cfg, then export that variable in the same
> way I was trying to export net_default_mac, the subsidiary configfile
> is able to read the expected MAC address from my variable. I am not
> sure if this is expected behavior or not. I realize that with
> net_default_mac being a built in, it could be special. Using my own
> variable to work around this is fine, though.
> 


Could you give more details of your setup? I.e. top level grub.cfg and
configuration you are loading from it?



reply via email to

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