Skip to content

Commit

Permalink
Add image checks script.
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Feb 13, 2019
1 parent 8822357 commit d509c60
Show file tree
Hide file tree
Showing 3 changed files with 483 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ rm -rf /var/lib/cloud/instance

echo "Removing keys..."
rm -f /root/.ssh/authorized_keys /etc/ssh/*key*
dd if=/dev/zero of=/zerofile; sync; rm /zerofile; sync
# dd if=/dev/zero of=/zerofile; sync; rm /zerofile; sync
cat /dev/null > /var/log/lastlog; cat /dev/null > /var/log/wtmp
Loading

0 comments on commit d509c60

Please sign in to comment.