diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-06 01:32:45 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:20 +0100 |
commit | a81b689509bd083eb51e1d7b293dcf3fe56fb176 (patch) | |
tree | 804c678f830097ae66956af8cfa6b46b4b32106a /scripts/build | |
parent | 076ea6bc2809c9acc41bea9840d4bf7e1055e2d3 (diff) | |
download | vyos-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-x | scripts/build/bootstrap_debootstrap | 3 |
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 |