There was a known issue with dmi reporting the wrong string. I removed the
check for this reason. However a fix has been issued and is on the way out.

What I could do is add the dmi check back in, and if that fails, check the
metadata server.

This way, until the dmi is fixed, ohai will report the correct platform
without the hint option.

Let me know if this works for you guys.
On Oct 8, 2013 1:47 PM, "Dan DeLeo" <notifications@github.com> wrote:

> In lib/ohai/plugins/gce.rb:
>
> > @@ -18,16 +18,8 @@
> >
> >  require 'ohai/mixin/gce_metadata'
> >
> > -
> > -GOOGLE_SYSFS_DMI = '/sys/firmware/dmi/entries/1-0/raw'
> > -
> > -#https://developers.google.com/compute/docs/instances#dmi
> > -def has_google_dmi?
> > - ::File.read(GOOGLE_SYSFS_DMI).include?('Google')
>
> What happened to GCE info exposed over DMI? This is a pretty awesome way
> to get cloud info without making network requests that could potentially
> timeout.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/opscode/ohai/pull/191/files#r6835427>
> .
>