Commit aa23f8ab authored by Hamza Dely's avatar Hamza Dely

Depuis @0579ac9b, udev_update_symlinks.py ne fonctionnait plus correctement

parent e5a3f476
......@@ -31,7 +31,7 @@ def store_iscsi_volumes():
baie = "slon"
device = os.readlink(PATH+line) # de la forme ../../sdb42
device = device.rsplit('/', 1)[1]
symlink = 'iscsi_' + ugin.getname(device, baie)
symlink = 'iscsi_' + ugin.getname(device)
if line.rsplit('-', 1)[1][0:4] == "part":
lun = line.rsplit('-', 2)[1]
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment