[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-bug
Subject: Re: Variables in grub configuration?
From: Marco Gerards <metgerards () student ! han ! nl>
Date: 2004-12-16 20:22:49
Message-ID: 87mzweyova.fsf () marco ! marco-g ! com
[Download RAW message or body]
"Robinson, Andrew W." <Andrew.W.Robinson@mms.gov> writes:
> Is there an equivalent of variables in the grub configuration files? I find
> that I am specifying the IP address of a server many times over many
> entries. It would be convenient if I could set it once at the beginning of
> the file, and then reference by variable in all the entries.
This is implemented in GRUB 2, which can someday replace GRUB Legacy.
I don't expect GRUB Legacy will get that feature.
What you could do is using something like the C preprocessor to
generate the menu.lst and having defines.
--
Marco
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic