Przeglądaj źródła

Merge pull request #241 from nuwang/remove_device_name

Remove device name from OS block device mapping
Nuwan Goonasekera 5 lat temu
rodzic
commit
80272f9722
1 zmienionych plików z 0 dodań i 1 usunięć
  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'
                 bdm_dict['destination_type'] = 'volume'
 
 
                 if device.is_root:
                 if device.is_root:
-                    bdm_dict['device_name'] = '/dev/sda'
                     bdm_dict['boot_index'] = 0
                     bdm_dict['boot_index'] = 0
 
 
                 if isinstance(device.source, Snapshot):
                 if isinstance(device.source, Snapshot):