Browse Source

Merge pull request #241 from nuwang/remove_device_name

Remove device name from OS block device mapping
Nuwan Goonasekera 6 năm trước cách đây
mục cha
commit
80272f9722
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      cloudbridge/providers/openstack/services.py

+ 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):