[ovs-dev] [suse 3/7] xenserver: Generate system UUID for non-XenServer systems.
Patrick Mullaney
pm.mullaney at gmail.com
Fri Dec 31 14:34:16 UTC 2010
On Thu, 2010-12-30 at 14:26 -0800, Ben Pfaff wrote:
> On Thu, Dec 30, 2010 at 1:53 PM, Patrick Mullaney <pm.mullaney at gmail.com> wrote:
> [uuidgen]
> > It is on suse. I believe it would be the same for rhat/centos, debian
> > and ubuntu but I haven't checked. In any case, checking for its
> > existence and printing a error in that case is probably a wise idea.
>
> Do we expect that "uuidgen" is more or less portable than "cat
> /proc/sys/kernel/random/uuid"
I'd go with uuidgen(its even portable beyond linux OSes even though we
don't care). If uuidgen is not in the base os, which it is for suse and
I'd guess it is for the other major distros, the distro can add a
"Requires:" for the specific package.
More information about the dev
mailing list