setup-storage: set vgname to hostname
Darshaka Pathirana
dpat at syn-net.org
Wed Sep 30 01:02:53 CEST 2009
On 09/30/2009 12:11 AM, Jean Spirat wrote:
>
>> I prefer using my own variables in my own namespace and initialize
>> them from a "known good" source - like $HOSTNAME. This may not be
>> the most obvious solution, but this way you can guarantee that
>> "your" variable has a valid value. And if $HOSTNAME turns out to be
>> unrealiable - or undesired - then you could easily change the
>> source (like maybe retrieving the value from an external database.)
>> without having to wade through the rest of the source code trying
>> hard not to introduce new bugs.
>>
> ok so any defined variables can be used in setup storage (like in
> http://www.informatik.uni-koeln.de/fai/fai-guide/ch-config.html#s-classvariables).
>
> I had not thinked of this before i was seeing this as a static file.
> good to know thanks :)
Hmm. I don't think I understand what you mean. I mean I HAVE tried
using $HOSTNAME in my disk_config-layout with setup-storage and it did
NOT work (at least for me - see my first post in this thread).
Maybe I've done a mistake?
Greetings,
- Darsha
More information about the linux-fai
mailing list