Issue #17612 has been updated by T.J. Yang.

Josh Cooper wrote:
> Hi Pierre-Gilles, do you know of any publicly documented way to determine 
> this information reliably, e.g. API, command? I see `gcutil`, but perhaps 
> there's a better way?

So far,  Ubuntu and CentOs GCE instances have a *-gcg-* from the output of 
"uname -r"

1. cat /etc/redhat-release ;uname -r

CentOS release 6.4 (Final)
2.6.39-gcg-201209041350


2. uname -r;lsb_release -a

2.6.39-gcg-201210301000
No LSB modules are available.
Distributor ID: GCEL
Description:    GCE Linux 10.04 LTS
Release:        10.04
Codename:       gcel_10.04



----------------------------------------
Feature #17612: Facter didn't recognize Google Compute Engine VM as virtual 
ressources
https://projects.puppetlabs.com/issues/17612#change-88994

* Author: Pierre-Gilles Mialon
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: 
* Category: cloud - gce
* Target version: 1.7.0
* Keywords: 
* Branch: https://github.com/puppetlabs/facter/pull/376
* Affected Facter version: 
----------------------------------------
on GCE instances :

    # facter virtual
    physical
    # facter is_virtual
    false


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to