[openstack-dev] [Nova] Is there a way for the VM to identify that it is getting booted in OpenStack
yunhong jiang
yunhong.jiang at linux.intel.com
Wed Nov 27 18:55:16 UTC 2013
On Wed, 2013-11-27 at 11:41 -0600, Chris Friesen wrote:
> On 11/26/2013 07:48 PM, Vijay Venkatachalam wrote:
> > Hi,
> >
> > Is there a way for the VM to identify that it is
> > getting booted in OpenStack?
> >
> > As said in the below mail, once the VM knows it is
> > booting in OpenStack it will alter the boot sequence.
>
> What does "getting booted in OpenStack" mean? OpenStack supports
> multiple hypervisors, so you could have something coming up via
> kvm/vmware/Xen/baremetal/etc. but they're all "getting booted in OpenStack".
>
> Chris
Usually guest can distinguish the hyper-visor underneath through cpuid,
which has some leaf preserved for hyper-visor usage. I think Vijay is
talking about distinguish the cloud environment like openstack or AWS,
but I'm not sure if that should go through the instance metadata.
--jyh
More information about the OpenStack-dev
mailing list