[Ovirt-devel] [PATCH] Changed the source for UUID to be dmidecode for now.

Perry N. Myers pmyers at redhat.com
Wed Jun 25 19:00:06 UTC 2008


Daniel P. Berrange wrote:
> On Wed, Jun 25, 2008 at 01:58:05PM -0400, Darryl L. Pierce wrote:
>> -    ovirt-identify-node -s $SRV_HOST -p $SRV_PORT
>> +    UUID=`/usr/sbin/dmidecode | grep -i uuid | awk '{ print $2; }'`
> 
> Don't use dmidecode - this is x86 specific and won't work in ia64/ppc I
> believe. Instead use HAL to get it

Just to clear up...  We do not have any plans at the current time to run 
the managed node on IA64/PPC architectures.

> eg
> 
>   $ lshal | grep system.hardware.uuid
>   system.hardware.uuid = 'E9CD5280-4897-11CB-9596-A088B277D677'  (string)
> 
> This has added benefit of not needing root privileges

We'll need hal for SAN support in libvirt anyhow, according to Dan B, so 
go ahead and include hal in the managed node.  This will add about 14MB of 
dependencies to the uncompressed node image.  We may need to start more 
aggressively whitelisting out unneeded libraries and binaries.  For 
example, hal brings in pm-utils which brings in radeontool.  I can't 
imagine that we'd need radeon support in the managed node.  If anything 
we'd be using vesa probably if we ran X for local console support.

Perry




More information about the ovirt-devel mailing list