bug-grub
[Top][All Lists]
Advanced

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

Re: Variables in grub configuration?


From: Marco Gerards
Subject: Re: Variables in grub configuration?
Date: Thu, 16 Dec 2004 20:22:49 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"Robinson, Andrew W." <address@hidden> 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





reply via email to

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