summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-hooks/04-cleanup2
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