[libvirt] [PATCH v3] Add host UUID (to libvirt capabilities)

Daniel P. Berrange berrange at redhat.com
Tue May 25 15:17:20 UTC 2010


On Tue, May 25, 2010 at 09:08:15AM -0600, Eric Blake wrote:
> On 05/25/2010 08:26 AM, Daniel P. Berrange wrote:
> > +
> > +# UUID of the host:
> > +# Provide the UUID of the host here in case the command
> > +# 'dmidecode -s system-uuid' does not provide a valid uuid. In case
> > +# 'dmidecode' does not provide a valid UUID and none is provided here, a
> > +# temporary UUID will be generated.
> > +# Keep the format of the example UUID below. UUID must not have all digits
> > +# be the same.
> > +
> > +#host_uuid = "8510b1a1-1afa-4da6-8111-785fae202c1e"
> 
> What's the likelihood that people just uncomment this line, and this
> becomes a very common "uuid" that is no longer unique?
> http://www.snopes.com/business/taxes/woolworth.asp
> 
> The sample is worthwhile, to show the locations where - must appear, but
> is it any better to write the sample as a known-invalid string, with all
> digits the same?

Yeah, we should replace it with

   # NB: to generate a unique value for your machine
   #     run  'uuidgen' and copy the output here
   #host_uuid = "00000000-0000-0000-0000-000000000000"


Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list