From a81b689509bd083eb51e1d7b293dcf3fe56fb176 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Mon, 6 Sep 2010 01:32:45 +0200
Subject: Also deconfiguring /etc/hosts when using debootstrap to bootstrap
 system.

---
 scripts/build/bootstrap_debootstrap | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 7157b3c..8176837 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -147,6 +147,9 @@ then
 		${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
 	fi
 
+	# Deconfiguring debootstrap configurations
+	rm -f chroot/etc/hosts
+
 	# Removing bootstrap cache
 	rm -f chroot/var/cache/apt/archives/*.deb
 
-- 
cgit v1.0