1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-13 13:17:39 +03:00

Fix bug in iscsi drivers

This commit is contained in:
Jaime Melis 2012-04-02 18:45:24 +02:00
parent aec7af2c75
commit d14b8e2554

View File

@ -102,7 +102,7 @@ if is_iscsi "$DST_HOST"; then
$SUDO $(iscsiadm_login "$IQN" "$TARGET_HOST")
sleep 1
DISK_BY_PATH=\$(ls /dev/disk/by-path/*$IQN-lun-1)
ln -s "\$DISK_BY_PATH" "$DST_PATH"
ln -sf "\$DISK_BY_PATH" "$DST_PATH"
EOF
)