Google's suggested method for determining if the VM is running within GCE
is to use dmidecode.
https://developers.google.com/compute/docs/instances#dmi
It may not be particularly useful, but facter also tries to detect various
virtual machine platforms.
https://github.com/puppetlabs/facter/blob/master/lib/facter/virtual.rb
On Mon, Jun 23, 2014 at 4:17 AM, Colin Walters <walters(a)verbum.org> wrote:
On Sun, Jun 22, 2014, at 11:27 AM, Dennis Gilmore wrote:
>
> 1) the image is intended to be just ran without tweaks
For reference I meant that Fedora rel-eng performs this operation,
ending up with two distinct cloud images but without significant pain in
generating them.
Anyways though I think we're agreed that it'd be better if it used
cloud-init, so let's see how far we can get down that path.
_______________________________________________
cloud mailing list
cloud(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct