parent
81c14a8db1
commit
88edf3ea33
@ -1,9 +1,3 @@
|
||||
/*.src.rpm
|
||||
/results_*
|
||||
/boto-2.5.1.tar.gz
|
||||
/boto-2.5.2.tar.gz
|
||||
/boto-2.6.0.tar.gz
|
||||
/boto-2.9.2.tar.gz
|
||||
/boto-2.9.6.tar.gz
|
||||
/boto-2.9.9.tar.gz
|
||||
/boto-2.13.3.tar.gz
|
||||
/boto-*.tar.gz
|
||||
|
@ -1,19 +0,0 @@
|
||||
Index: boto/boto/ec2/autoscale/tag.py
|
||||
===================================================================
|
||||
--- boto.orig/boto/ec2/autoscale/tag.py
|
||||
+++ boto/boto/ec2/autoscale/tag.py
|
||||
@@ -55,11 +55,11 @@ class Tag(object):
|
||||
self.key = value
|
||||
elif name == 'Value':
|
||||
self.value = value
|
||||
- elif name == 'PropogateAtLaunch':
|
||||
+ elif name == 'PropagateAtLaunch':
|
||||
if value.lower() == 'true':
|
||||
- self.propogate_at_launch = True
|
||||
+ self.propagate_at_launch = True
|
||||
else:
|
||||
- self.propogate_at_launch = False
|
||||
+ self.propagate_at_launch = False
|
||||
elif name == 'ResourceId':
|
||||
self.resource_id = value
|
||||
elif name == 'ResourceType':
|
@ -1,22 +0,0 @@
|
||||
Index: boto/boto/ec2/connection.py
|
||||
===================================================================
|
||||
--- boto.orig/boto/ec2/connection.py
|
||||
+++ boto/boto/ec2/connection.py
|
||||
@@ -260,7 +260,7 @@ class EC2Connection(AWSQueryConnection):
|
||||
def register_image(self, name=None, description=None, image_location=None,
|
||||
architecture=None, kernel_id=None, ramdisk_id=None,
|
||||
root_device_name=None, block_device_map=None,
|
||||
- dry_run=False):
|
||||
+ dry_run=False, virtualization_type=None):
|
||||
"""
|
||||
Register an image.
|
||||
|
||||
@@ -315,6 +315,8 @@ class EC2Connection(AWSQueryConnection):
|
||||
block_device_map.ec2_build_list_params(params)
|
||||
if dry_run:
|
||||
params['DryRun'] = 'true'
|
||||
+ if virtualization_type:
|
||||
+ params['VirtualizationType'] = virtualization_type
|
||||
rs = self.get_object('RegisterImage', params, ResultSet, verb='POST')
|
||||
image_id = getattr(rs, 'imageId', None)
|
||||
return image_id
|
Loading…
Reference in new issue