Prechádzať zdrojové kódy

Merge pull request #241 from nuwang/remove_device_name

Remove device name from OS block device mapping
Nuwan Goonasekera 6 rokov pred
rodič
commit
80272f9722

+ 0 - 1
cloudbridge/providers/openstack/services.py

@@ -737,7 +737,6 @@ class OpenStackInstanceService(BaseInstanceService):
                 bdm_dict['destination_type'] = 'volume'
 
                 if device.is_root:
-                    bdm_dict['device_name'] = '/dev/sda'
                     bdm_dict['boot_index'] = 0
 
                 if isinstance(device.source, Snapshot):