Skip to content

Commit

Permalink
use shred
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Sep 26, 2016
1 parent ca2a139 commit 83f9704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/simple/scripts/CLOUD/99-cleanup
Expand Up @@ -5,7 +5,8 @@ ainsl /etc/ssh/sshd_config 'ClientAliveInterval 120'

ainsl -a /etc/modprobe.d/blacklist.conf 'blacklist pcspkr'

rm -f $target/etc/resolv.conf $target/etc/ssh/ssh_host_* $target/etc/udev/rules.d/70-persistent-net.rules $target/lib/udev/write_net_rules
rm -f $target/etc/resolv.conf $target/etc/udev/rules.d/70-persistent-net.rules $target/lib/udev/write_net_rules
shred --remove $target/etc/ssh/ssh_host_*

# FIXME: DHCP RFC3442 is used incorrect in Azure
sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' $target/etc/dhcp/dhclient.conf
Expand Down

0 comments on commit 83f9704

Please sign in to comment.