Error Message: Volume group defined without any physical volumes
Pablo Iranzo Gómez
Pablo.Iranzo at redhat.com
Wed Apr 30 08:47:49 UTC 2008
What I use at my systems is:
TYPE=`dmidecode |grep "Product Name:"|grep "[0-9].*"|head -n 1|cut -d
":" -f 2|cut -d " " -f 2`
This provides for me on the systems I've tested one number that I can
use for differentiate them:
D1419: FSC TX200
D2239: FSC TX150S4
PRIMERGY: FSC TX150S5
1707Y8F: Lenovo X60
ProLiant: Compaq Proliant
For me that works, as I'm only differentiating some machines from
anothers, but if you've a look at the output, you can choose a better
one that fits your needs :)
Regards
Pablo
El mié, 30-04-2008 a las 09:32 +0100, Gerrard Geldenhuis escribió:
> >
> > Hi
> >
> > El mié, 30-04-2008 a las 09:25 +0100, Gerrard Geldenhuis escribió:
> > <snip>
> > > What would be an easy/simple way to differentiate between say an HP
> > > DL360 G5 and an IBM xSeries 336 in the pre-script?
> >
> > dmidecode is your friend ;)
> >
>
> Excellent! you don't perhaps have a small example lying around? ;-)
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
--
Pablo Iranzo Gómez (Pablo.Iranzo at redhat.com)
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje est? firmada digitalmente
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080430/08b47d46/attachment.sig>
More information about the Kickstart-list
mailing list