You're creating your partinfo with << EOF Try with echo "logvol / --vgname=$vgn --name=rootvol --size=5120" >> /tmp/partinfo echo does replace $name for its value, not sure with << EOF. At my system I've "$ORG"-root, $ORG-Swap etc for LV's Regards Pablo El vie, 07-03-2008 a las 15:56 +0000, Gerrard Geldenhuis escribió: > 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@xxxxxxxxxx [mailto:kickstart-list- > > bounces@xxxxxxxxxx] 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@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/kickstart-list -- Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx) RHCE/Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D --- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list