From 9f2294037a66de2d02b5821ce3ab39627489eb92 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Mon, 13 Sep 2010 14:44:09 +0200 Subject: restart-anaconda: log out of all iscsi nodes --- scripts/restart-anaconda | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/restart-anaconda') 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 -- cgit