diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2010-09-13 14:44:09 +0200 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2010-10-06 15:57:38 +0200 |
commit | 9f2294037a66de2d02b5821ce3ab39627489eb92 (patch) | |
tree | 2568a69abe135d9eaa2cf34f618da87753b8e2f0 /scripts/restart-anaconda | |
parent | 7701be84730f2d3fa1bced06beaa3897d7960eba (diff) | |
download | anaconda-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-x | scripts/restart-anaconda | 2 |
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 |