[Ovirt-devel] [PATCH]: Rewrite the ovirt-identify-node in bash

Chris Lalancette clalance at redhat.com
Wed Jun 11 13:22:16 UTC 2008


Alan Pevec wrote:
> ACK for 1:1 replacement
> 
> just one thing:
> 
>> +# gather our information
>> +uuid=`hostname -f`
> 
> This matches the current behavior, but ideally we'd use HAL here:
> hal-get-property --udi /org/freedesktop/Hal/devices/computer --key system.hardware.uuid
> 
> Problem is that hal RPM has lot of deps, so it would not help shrinking effort.
> Any ideas about a portable, but w/o HAL, way to get hardware UUID?

In theory we could use dmidecode; the problem is that, as far as I can tell, KVM
guests all have exactly the same UUID.  This is probably a bug we should address
in KVM itself, but until that is fixed, I don't think we can rely on it for much
of anything.

Chris Lalancette




More information about the ovirt-devel mailing list