I would like to be able to reliably determine the UUID associated with an OpenStack guest from within the guest. A klugey way to do it would be something like:
# nova show `hostname` | grep ' id '
| id | 10493365-870f-4ff1-86ed-500b4b8db814 |
However, the hostname that a system knows itself as would not necessarily be the hostname that OpenStack knows the guest as.
Is there a way do do what I want? BTW, I'd actually be running this at Rackspace.