summaryrefslogtreecommitdiffstats
path: root/scripts/restart-anaconda
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-09-13 14:44:09 +0200
committerAles Kozumplik <akozumpl@redhat.com>2010-10-06 15:57:38 +0200
commit9f2294037a66de2d02b5821ce3ab39627489eb92 (patch)
tree2568a69abe135d9eaa2cf34f618da87753b8e2f0 /scripts/restart-anaconda
parent7701be84730f2d3fa1bced06beaa3897d7960eba (diff)
downloadanaconda-9f2294037a66de2d02b5821ce3ab39627489eb92.tar.gz
anaconda-9f2294037a66de2d02b5821ce3ab39627489eb92.tar.xz
anaconda-9f2294037a66de2d02b5821ce3ab39627489eb92.zip
restart-anaconda: log out of all iscsi nodes
Diffstat (limited to 'scripts/restart-anaconda')
-rwxr-xr-xscripts/restart-anaconda2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/restart-anaconda b/scripts/restart-anaconda
index e0fb544d7..5f8778be4 100755
--- a/scripts/restart-anaconda
+++ b/scripts/restart-anaconda
@@ -48,6 +48,8 @@ RESTART_VICTIMS+=' '$ANACONDA_PID
if [[ -f /var/run/iscsid.pid ]]; then
# iscsid must die else it will cause us troubles on the next run
RESTART_VICTIMS+=' '`cat /var/run/iscsid.pid`
+ # log out of all nodes
+ iscsiadm -m node --logoutall=all
fi
echo "killing processes: " $RESTART_VICTIMS
for child in $RESTART_VICTIMS; do