[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, experimental, updated. debian/2.1.1-1_experimental1-51-g95835b7

Garrett Holmstrom gholms at fedoraproject.org
Thu Jan 3 11:06:15 UTC 2013


The following commit has been merged in the experimental branch:
commit 0a95134479b994f0c4d170969831ac5f1322678e
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Dec 11 14:49:48 2012 -0800

    Make euca-describe-images show image tags

diff --git a/euca2ools/commands/euca/describeimages.py b/euca2ools/commands/euca/describeimages.py
index c421e90..e4fd1ed 100644
--- a/euca2ools/commands/euca/describeimages.py
+++ b/euca2ools/commands/euca/describeimages.py
@@ -146,6 +146,10 @@ class DescribeImages(euca2ools.commands.eucacommand.EucaCommand):
                            block_dev_mapping.current_value.snapshot_id,
                            block_dev_mapping.current_value.size)
                     print 'BLOCKDEVICEMAPPING\t%s' % block_dev_string
+            if hasattr(image, 'tags') and isinstance(image.tags, dict):
+                for tag in image.tags:
+                    print '\t'.join(('TAG', 'image', image.id, tag,
+                                     image.tags[tag]))
 
     def main(self):
         if self.all and (self.owner or self.executable_by or self.image):

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list