diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-05 23:43:25 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-05 23:43:25 +0200 |
commit | bdf3c383b85375cbb486d254bb34e8e0ddf3fd2b (patch) | |
tree | ea5ffcf486bdce25ccbee4587861ee87b0777e38 /config | |
parent | 6f9b51db6be699c90ab557f2a360ace5adf2c82a (diff) | |
download | kanotix-bdf3c383b85375cbb486d254bb34e8e0ddf3fd2b.zip kanotix-bdf3c383b85375cbb486d254bb34e8e0ddf3fd2b.tar.gz |
rm /etc/hosts in chroot to make sure it doesn't end up in livecd
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/04-cleanup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/04-cleanup b/config/chroot_local-hooks/04-cleanup index cae7860..4f1f822 100755 --- a/config/chroot_local-hooks/04-cleanup +++ b/config/chroot_local-hooks/04-cleanup @@ -10,6 +10,8 @@ mkdir -p /var/lib/apt/lists/partial # Cleaning apt cache rm -rf /var/cache/apt mkdir -p /var/cache/apt/archives/partial +# Cleaning /etc/hosts +rm -f /etc/hosts # Truncating logs for FILE in $(find /var/log/ -type f) do |