summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-04-27 12:30:02 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-27 12:30:02 +0200
commit10a6e8e5792704ba4b04eada0966bdcb724e9fb5 (patch)
treef224224004f410b6a65e77c804dd04cec5fd02aa
parent389dd5f27861e7658f3eab133f4227882d99e31c (diff)
downloadvyos-live-build-10a6e8e5792704ba4b04eada0966bdcb724e9fb5.tar.gz
vyos-live-build-10a6e8e5792704ba4b04eada0966bdcb724e9fb5.zip
Cleaning /etc/hosts as in previous live-build versions (Closes: #744939).
-rwxr-xr-xscripts/build/chroot_hacks2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index bdd7d6460..88601c389 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -117,6 +117,8 @@ case "${LB_INITRAMFS}" in
;;
esac
+rm -f chroot/etc/hosts
+
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
then
# This is a temporary hack to get rid of fstab;