multipath gives us CCISS devices names with ! in them, but we expect /.
---
storage/devicelibs/mpath.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
index f9fdda1..b6d46e1 100644
--- a/storage/devicelibs/mpath.py
+++ b/storage/devicelibs/mpath.py
@@ -43,7 +43,7 @@ def parseMultipathOutput(output):
elif lexemes[0] == '`-+-':
pass
elif lexemes[0] in ['|-','`-']:
- devices.append(lexemes[2])
+ devices.append(lexemes[2].replace('!', '/'))
if name and devices:
mpaths[name] = devices
--
1.6.5.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|