Skip to content

Commit

Permalink
Filter out NVMe over Fibre Channel from local disks
Browse files Browse the repository at this point in the history
Resolves: rhbz#2107346

(cherry picked from commit 4b16bc5)
  • Loading branch information
VladimirSlavik committed Jan 25, 2023
1 parent 67ba2ad commit 4f89c66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyanaconda/ui/lib/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,15 +351,16 @@ def is_local_disk(device_type):
While technically local disks, zFCP and NVDIMM devices are
advanced storage and should not be considered local.
:param device_type: a device type
:return: True or False
:param str device_type: a device type
:return bool: True or False
"""
return device_type not in (
"dm-multipath",
"iscsi",
"fcoe",
"zfcp",
"nvdimm"
"nvdimm",
"nvme-fabrics",
)


Expand Down

0 comments on commit 4f89c66

Please sign in to comment.