[master 2/2] restart-anaconda: log out of all iscsi nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 scripts/restart-anaconda |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/restart-anaconda b/scripts/restart-anaconda
index e0fb544..5f8778b 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
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux