WWN is confusing, for non-multipathed (but multipath capable) drives.

LP: #1848533
This commit is contained in:
Dimitri John Ledkov 2019-10-17 16:45:29 +01:00
parent d91dad9561
commit a26d2b8fcd
1 changed files with 3 additions and 1 deletions

View File

@ -669,7 +669,9 @@ class Disk(_Device):
@property @property
def label(self): def label(self):
return self.wwn or self.serial or self.path if self.multipath:
return self.wwn
return self.serial or self.path
def _potential_boot_partition(self): def _potential_boot_partition(self):
if self._m.bootloader == Bootloader.NONE: if self._m.bootloader == Bootloader.NONE: