Skip to content

Commit f7db6b6

Browse files
committed
fix sysstat in build
1 parent 15ffe73 commit f7db6b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/90-cleanup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ rm -rf /var/lib/cloud/instances/*
5858
rm -f /root/.ssh/authorized_keys /etc/ssh/*key*
5959
touch /etc/ssh/revoked_keys
6060
chmod 600 /etc/ssh/revoked_keys
61+
service sysstat stop
62+
rm /var/log/sysstat
6163
mkdir /var/log/sysstat
62-
64+
service sysstat start
6365
# Securely erase the unused portion of the filesystem
6466
GREEN='\033[0;32m'
6567
NC='\033[0m'

0 commit comments

Comments
 (0)