Repository: libcloud
Updated Branches:
  refs/heads/trunk cb3094b77 -> 2c652c0bc


Added images from ubuntu-os-cloud image project

Closes #385

Signed-off-by: Tomaz Muraus <[email protected]>


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

Branch: refs/heads/trunk
Commit: 2c652c0bc2a4572783167b8fa99773e0d9d74b8a
Parents: cb3094b
Author: Borja Martin <[email protected]>
Authored: Mon Nov 10 16:16:42 2014 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Tue Nov 11 13:29:35 2014 +0800

----------------------------------------------------------------------
 CHANGES.rst                     | 10 ++++++++++
 libcloud/compute/drivers/gce.py |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2c652c0b/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index f5501ae..e2136c3 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,6 +1,16 @@
 Changelog
 =========
 
+Changes with Apache Libcloud in development
+-------------------------------------------
+
+Compute
+~~~~~~~
+
+- Add missing ``ubuntu-os-cloud`` images to the GCE driver.
+  (LIBCLOUD-632, GITHUB-385)
+  [Borja Martin]
+
 Changes with Apache Libcloud 0.16.0
 -----------------------------------
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/2c652c0b/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index a268ad0..91f4629 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -2548,7 +2548,8 @@ class GCENodeDriver(NodeDriver):
                 image = self._match_images('coreos-cloud', partial_name)
             elif partial_name.startswith('opensuse'):
                 image = self._match_images('opensuse-cloud', partial_name)
-
+            elif partial_name.startswith('ubuntu'):
+                image = self._match_images('ubuntu-os-cloud', partial_name)
         return image
 
     def ex_get_network(self, name):

Reply via email to