commit | c975d9ef3882c8762ac3e77dd234e89a58f3cc54 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Tue Jul 17 20:27:39 2018 +0300 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Tue Jul 17 20:42:54 2018 +0300 |
tree | 1884ddb06424e600d809f6d49f75b3bed3737bcd | |
parent | 0955f72ea373f1136fdd092c9ee6b3e1b566ab4d [diff] [blame] |
trusty WA for dhcp client core-dump Closes-Bug: PROD-21514 (PROD:21514) Change-Id: I9426e348d7d1056632332090f7c372c74018d297
diff --git a/mirror-image/scripts/reboot.sh b/mirror-image/scripts/reboot.sh index 52adc95..bddc2a9 100644 --- a/mirror-image/scripts/reboot.sh +++ b/mirror-image/scripts/reboot.sh
@@ -1,2 +1,6 @@ +#!/bin/bash -x + +echo 3 > /proc/sys/vm/drop_caches +sync pgrep -f "sshd: root@" | xargs kill -9 -reboot now \ No newline at end of file +reboot now