[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:30:03 UTC 2013
The following commit has been merged in the master branch:
commit 091e7e5f078704e3a676da4dcc049b5f9763aeff
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Thu Feb 7 14:57:52 2013 -0800
Serialize NoDevice block device mappings correctly
Fixes TOOLS-180
diff --git a/euca2ools/commands/euca/argtypes.py b/euca2ools/commands/euca/argtypes.py
index 7d72a1d..e940eab 100644
--- a/euca2ools/commands/euca/argtypes.py
+++ b/euca2ools/commands/euca/argtypes.py
@@ -45,8 +45,7 @@ def block_device_mapping(map_as_str):
'DEVICE=MAPPED'.format(map_as_str))
map_dict = {'DeviceName': device}
if mapping.lower() == 'none':
- ## FIXME: EC2 does not accept this, despite its documentation
- map_dict['Ebs'] = {'NoDevice': EMPTY}
+ map_dict['NoDevice'] = 'none'
elif mapping.startswith('ephemeral'):
map_dict['VirtualName'] = mapping
elif (mapping.startswith('snap-') or mapping.startswith('vol-') or
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list