Repository: libcloud
Updated Branches:
  refs/heads/trunk 2c90e9e5d -> d12def1d8


adding coreos and opensuse to GCE images

Closes #340

Signed-off-by: Tomaz Muraus <to...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/d12def1d
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/d12def1d
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/d12def1d

Branch: refs/heads/trunk
Commit: d12def1d8f428465d7f8cbad6abfc5286f6a8d9b
Parents: 2c90e9e
Author: Eric Johnson <erjoh...@google.com>
Authored: Thu Jul 17 16:26:41 2014 +0000
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Jul 20 15:21:57 2014 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/gce.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d12def1d/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index c216c64..28bcb48 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -2318,6 +2318,10 @@ class GCENodeDriver(NodeDriver):
                 image = self._match_images('windows-cloud', partial_name)
             elif partial_name.startswith('container-vm'):
                 image = self._match_images('google-containers', partial_name)
+            elif partial_name.startswith('coreos'):
+                image = self._match_images('coreos-cloud', partial_name)
+            elif partial_name.startswith('opensuse'):
+                image = self._match_images('opensuse-cloud', partial_name)
 
         return image
 

Reply via email to