Assigning machinename to volumegroup

Landreth, Kevin klandreth at theplanet.com
Mon Mar 10 17:51:46 UTC 2008


I found good luck with using a dot (.) because it saves whitespace and is not used by device-mapper (LVM).

-----Original Message-----
From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Joel Andres Granados
Sent: Monday, March 10, 2008 4:45 AM
To: Discussion list about Kickstart
Subject: Re: Assigning machinename to volumegroup

Gerrard Geldenhuis wrote:
> Brilliant, obvious when you think about it. ;-)
> 
> It looks like it does not like the "-" character...
> vg-hostname does not work but vgxx does work. I will test it a bit more on Monday...
> 
> Regards
> 
>> -----Original Message-----
>> From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-
>> bounces at redhat.com] On Behalf Of Pablo Iranzo Gómez
>> Sent: 07 March 2008 15:11
>> To: Discussion list about Kickstart
>> Subject: RE: Assigning machinename to volumegroup
>>
>> 	You need to put it near the place where right now is the partition
>> section, just replace the whole for your %include, and after %packages,
>> create a %pre taking care of this.
>>
>> 	Regards
>> 	Pablo
>>
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list

I would really not recommend the use of "-" for lvm names.  LVM seems to use the "-" internally somehow and has to treat the names containing "-" in a special way.
 
-- 
Joel Andres Granados
Red Hat / Brno, Czech Republic

_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list