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

Darryl L. Pierce dpierce at redhat.com
Thu Jun 26 10:57:24 UTC 2008


Jeff Schroeder wrote:
>>     find_srv identify tcp
>> -    ovirt-identify-node -s $SRV_HOST -p $SRV_PORT
>> +
>> +    VENDOR=`dmidecode | grep Vendor | awk ' { print $2; } '`
>> +    UUID=`dmidecode | grep UUID | awk ' { print $2; } '`
> 
> Tiny nit that might be shot down by someone who dislikes awk.
> 
> These are functionally identical:
> dmidecode | grep UUID | awk ' { print $2; } '
> dmidecode | awk ' /UUID/{ print $2; } '

Done. Thanks for the feedback. :)

-- 
Darryl L. Pierce, Sr. Software Engineer
Red Hat, Inc. - http://www.redhat.com/
oVirt - Virtual Machine Management - http://www.ovirt.org/
"What do you care what other people think, Mr. Feynman?"




More information about the ovirt-devel mailing list