diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-27 12:30:02 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-27 12:30:02 +0200 |
commit | 10a6e8e5792704ba4b04eada0966bdcb724e9fb5 (patch) | |
tree | f224224004f410b6a65e77c804dd04cec5fd02aa | |
parent | 389dd5f27861e7658f3eab133f4227882d99e31c (diff) | |
download | vyos-live-build-10a6e8e5792704ba4b04eada0966bdcb724e9fb5.tar.gz vyos-live-build-10a6e8e5792704ba4b04eada0966bdcb724e9fb5.zip |
Cleaning /etc/hosts as in previous live-build versions (Closes: #744939).
-rwxr-xr-x | scripts/build/chroot_hacks | 2 |
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; |