The only existing use of deviceNameToDiskByPath() expected the basename returned. Since the function returns the full /dev/disk/by-path/... path, take the basename of the returned value. --- storage/devicetree.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 660d3fc..ae0ff15 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -132,7 +132,7 @@ def questionInitializeDisk(intf=None, path=None, description=None): path = '/dev/' + path dev = parted.getDevice(path) - bypath = deviceNameToDiskByPath(path) + bypath = os.path.basename(deviceNameToDiskByPath(path)) details = "" if description is None: -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list