xenserver: Generate system UUID for non-XenServer systems.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Jan 2011 19:08:25 +0000 (11:08 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 7 Jan 2011 18:31:29 +0000 (10:31 -0800)
commit2ce949ba352d075703fe672cdefd7d020bd042bd
treed3d0bcc6ccf868efee6111f5370ce3bedcb31e72
parent6f83469de7edcbeb66449b8488d24a6cfbfb0898
xenserver: Generate system UUID for non-XenServer systems.

Currently the scripts in xensever/ are intended specifically for XenServer,
but supporting other distros seems like a worthy goal, so this is a step
in the right direction.

It would be good to be able to determine a suitable system-type and
system-version, but those are less important than system-id.

Signed-off-by: Patrick Mullaney <pm.mullaney@gmail.com>
[changed not to set xs-system-uuid on non-XenServer systems]
[whitespace changes]
[changed to handle missing uuidgen, suggested by Justin Pettit]
Signed-off-by: Ben Pfaff <blp@nicira.com>
xenserver/etc_init.d_openvswitch