From bdf3c383b85375cbb486d254bb34e8e0ddf3fd2b Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Sun, 5 Sep 2010 23:43:25 +0200 Subject: rm /etc/hosts in chroot to make sure it doesn't end up in livecd --- config/chroot_local-hooks/04-cleanup | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.0