For juju, I need a snippet of shell that cloud-init can use to get the
server id on startup. For the ec2 provider, the following is used:

    $(curl http://169.254.169.254/1.0/meta-data/instance-id)

Is there any way of getting the server's uuid rather than the ec2
style i-08x version? Requests against the openstack api with the
integer form work, but not for comparing id values. Using the api to
resolve the integer to a uuid would require reauthenticating on the
instance.

There was some discussion about exposing openstack specific values via
the metadata service as well for folsom, but is there a method that
would work with essex?

Martin

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to