[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:10 UTC 2013


The following commit has been merged in the master branch:
commit 63baf8e74aaed524a1691d6847a0a5311be4c951
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Fri Apr 26 00:23:38 2013 -0700

    Implement print_result for eustore-install-image

diff --git a/euca2ools/commands/eustore/installimage.py b/euca2ools/commands/eustore/installimage.py
index 7e72a8c..039ff22 100644
--- a/euca2ools/commands/eustore/installimage.py
+++ b/euca2ools/commands/eustore/installimage.py
@@ -198,6 +198,9 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
         image_ids = self.bundle_and_register_all(tempdir, tarball_path)
         return image_ids
 
+    def print_result(self, image_ids):
+        print 'Installed new image', image_ids['machine']
+
     def get_tarball(self, workdir):
         if self.args.get('tarball'):
             self.log.info('using local tarball %s', self.args['tarball'])
@@ -338,6 +341,8 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
                         print 'Registered machine image', machine_id
         finally:
             tarball.close()
+        if self.args['show_progress']:
+            print '-- Done --'
         return {'machine': machine_id, 'kernel': kernel_id,
                 'ramdisk': ramdisk_id}
 

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list