commit | 017bef804b4ae811eb72efde7680b6fd418ae9b7 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Wed Jul 25 13:38:53 2018 +0300 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Wed Jul 25 13:39:07 2018 +0300 |
tree | 69f43f9b26a37c2b17e8df72a5581df00d6c5c99 | |
parent | 73fff7f228e07acc6d55f3b3031813f948dc7383 [diff] [blame] |
misc update Change-Id: Icdce7eb448b6bfa1ea91a8498183aef10ee81f9c
diff --git a/mirror-image/scripts/reboot.sh b/mirror-image/scripts/reboot.sh index bddc2a9..35d13f9 100644 --- a/mirror-image/scripts/reboot.sh +++ b/mirror-image/scripts/reboot.sh
@@ -2,5 +2,6 @@ echo 3 > /proc/sys/vm/drop_caches sync +sleep 1 pgrep -f "sshd: root@" | xargs kill -9 -reboot now +shutdown -r now