[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a

Garrett Holmstrom gholms at fedoraproject.org
Sun Jun 16 02:31:11 UTC 2013


The following commit has been merged in the master branch:
commit 16445a5ee445bc000af436e9a030f5c9e208045a
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Fri Apr 26 18:30:22 2013 -0700

    Read image descriptions from eustore catalog
    
    Fixes TOOLS-315

diff --git a/euca2ools/commands/eustore/installimage.py b/euca2ools/commands/eustore/installimage.py
index 9cb14bc..40e85d4 100644
--- a/euca2ools/commands/eustore/installimage.py
+++ b/euca2ools/commands/eustore/installimage.py
@@ -218,7 +218,9 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
                                .format(self.args['image_name']))
             self.log.debug('image data: %s', str(image))
             if self.args.get('architecture') is None:
-                self.args['architecture'] = image['architecture']
+                self.args['architecture'] = image.get('architecture')
+            if self.args.get('description') is None:
+                self.args['description'] = image.get('description')
             if bool(image.get('single-kernel', False)):
                 self.log.debug('image catalog data specify single-kernel; '
                                "setting hypervisor to 'universal'")

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list