summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-06 01:32:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:20 +0100
commita81b689509bd083eb51e1d7b293dcf3fe56fb176 (patch)
tree804c678f830097ae66956af8cfa6b46b4b32106a /scripts/build
parent076ea6bc2809c9acc41bea9840d4bf7e1055e2d3 (diff)
downloadvyos-live-build-a81b689509bd083eb51e1d7b293dcf3fe56fb176.tar.gz
vyos-live-build-a81b689509bd083eb51e1d7b293dcf3fe56fb176.zip
Also deconfiguring /etc/hosts when using debootstrap to bootstrap system.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/bootstrap_debootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 7157b3c5f..81768376d 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