Any way to detect server model?
Michael E Brown
Michael_E_Brown at dell.com
Fri Mar 2 10:17:32 CST 2007
On Thu, Mar 01, 2007 at 03:58:41PM -0800, Ray Van Dolson wrote:
> Thanks for sharing! Unfortunately, I needed to have a solution that would
> work from the busyboxy shell used during a Kickstart install. perl isn't
> available to me (at least not easily) from %pre in Kickstart. :(
Libsmbios has the getSystemId binary which prints this information. Libsmbios will be in FC7 and will be in FC6 Extras soon.
[root at mock ~]# getSystemId
Libsmbios: 0.13.2
System ID: 0x016D
Service Tag: 6J37J61
Express Service Code: 14214941641
Product Name: PowerEdge 2850
BIOS Version: A04
Vendor: Dell Computer Corporation
Is Dell: 1
--
Michael
>
> Ray
>
> On Fri, Mar 02, 2007 at 10:55:53AM +1100, Chmouel Boudjnah wrote:
> > Hi,
> >
> > Ray Van Dolson <rvandolson at esri.com> writes:
> >
> > > FYI, here's the awk script I ended up writing to pull this information out.
> > > Maybe useful to others down the line.
> >
> > I use that script to find most of the stuff i need from dmidecode
> > (yeah not really strict perl -w compliant but well) :
> > ,----
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list