05 Save VM UUID in Configuration File

Overview

Configuration files for OVMS include the UUID for the VM. I have updated the >vm.cfg for CLOUCTL to preserve the UUID from the current incarnation across restarts.

Procedure

Find Current UUID

Run the following command on CLOUCTL:

xl list -l OVM_EM12R3 | grep -i uuid

The result is:

(uuid f8e1757e-f79d-43b5-a764-44a205ead04e)

Update UUID in Configuration File

Run the following command on CLOUCTL:

cat >>/OVS/running_pool/OVM_EM12R3/vm.cfg <<DONE

uuid = 'f8e1757e-f79d-43b5-a764-44a205ead04e'

DONE