[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, experimental, updated. debian/2.1.1-1_experimental1-51-g95835b7
dkavanagh
dkavanagh at gmail.com
Thu Jan 3 11:06:12 UTC 2013
The following commit has been merged in the experimental branch:
commit 6b17342291f3a96aa22c38bebd6fc4b447d06190
Author: dkavanagh <dkavanagh at gmail.com>
Date: Thu Nov 15 11:51:01 2012 -0500
TOOLS-153, use id instead of name, and set API version # for boto
diff --git a/euca2ools/commands/eustore/installimage.py b/euca2ools/commands/eustore/installimage.py
index 50b0224..7fa9fc1 100644
--- a/euca2ools/commands/eustore/installimage.py
+++ b/euca2ools/commands/eustore/installimage.py
@@ -184,15 +184,15 @@ class InstallImage(AWSQueryRequest):
if name_match:
if kernel_id=='true' and img.type=='kernel':
if self.promptReplace("Kernel", img.name):
- ret_id=img.name
+ ret_id=img.id
break
elif ramdisk_id=='true' and img.type=='ramdisk':
if self.promptReplace("Ramdisk", img.name):
- ret_id=img.name
+ ret_id=img.id
break
elif kernel_id!='true' and ramdisk_id!='true' and img.type=='machine':
if self.promptReplace("Image", img.name):
- ret_id=img.name
+ ret_id=img.id
break
if ret_id:
@@ -356,6 +356,8 @@ class InstallImage(AWSQueryRequest):
ec2_conn = boto.connect_euca(host=euare_svc.args['host'], \
aws_access_key_id=euare_svc.args['aws_access_key_id'],\
aws_secret_access_key=euare_svc.args['aws_secret_access_key'])
+ ec2_conn.APIVersion = '2012-03-01'
+
self.ImageList = ec2_conn.get_all_images()
if os.environ.has_key('EUSTORE_URL'):
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list