Lines Matching refs:uuid
45 uuid=$1
46 # Generate hostid based on hostuuid - take first four bytes from md5(uuid).
47 id=`echo -n $uuid | /sbin/md5`
52 startmsg "Setting hostuuid: ${uuid}."
53 ${SYSCTL} kern.hostuuid="${uuid}" >/dev/null
60 uuid=$1
67 case "${uuid}" in
104 uuid=`kenv -q smbios.system.uuid`
106 if valid_hostid $uuid; then
107 echo "${uuid}"
108 elif [ "$uuid" ]; then
116 uuid=`hostid_hardware`
119 if [ "${uuid}" = "INVALID" ]; then
122 uuid=""
126 if [ -z "${uuid}" ]; then
128 uuid=`uuidgen ${hostid_uuidgen_flags}`
130 hostid_set $uuid
137 echo $uuid > ${hostid_file}