Initial commit

This commit is contained in:
2023-05-11 15:44:13 +02:00
commit 905361e72f
4 changed files with 133 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
IQN=$1
if [[ -z "${IQN}" ]]; then
echo "usage: $0 TargetIQN"
echo ""
exit
fi
umount /mnt/iSCSI_${IQN}
rm -rf /mnt/iSCSI_${IQN}
iscsiadm -m node -T ${IQN} -u