@David generally running on OpenStack, instances already identify themselves as OpenStack via DMI properties.
It sounds like you've an instance that has failed, please open a new bug against cloud-init and in there if you could you please run:
$ cloud-init collect-logs $ sudo sh -c 'cd /sys/hypervisor && grep -r . *' $ sudo sh -c 'cd /sys/class/dmi/id && grep -r . *'
and attach the output to the new bug.
@David generally running on OpenStack, instances already identify themselves as OpenStack via DMI properties.
It sounds like you've an instance that has failed, please open a new bug against cloud-init and in there if you could you please run:
$ cloud-init collect-logs
$ sudo sh -c 'cd /sys/hypervisor && grep -r . *'
$ sudo sh -c 'cd /sys/class/dmi/id && grep -r . *'
and attach the output to the new bug.