Google's suggested method for determining if the VM is running within GCE is to use dmidecode.
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@xxxxxxxxxx> wrote:
On Sun, Jun 22, 2014, at 11:27 AM, Dennis Gilmore wrote:For reference I meant that Fedora rel-eng performs this operation,
>
> 1) the image is intended to be just ran without tweaks
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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
_______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct