X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=47e4e5c46e56a0796bc9faa2be4383d4415dc79b;hp=61dab376dfe067419bfc7249655892b5214c722f;hb=36a961d4534d6c6476e2416776fda21d1806b4b5;hpb=19344b969618f82c97158c0e42ebc5ae7c4fcade diff --git a/grml-debootstrap b/grml-debootstrap index 61dab37..47e4e5c 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1441,11 +1441,6 @@ preparechroot() { # make sure we can access network [relevant for cdebootstrap] [ -f "${MNTPOINT}"/etc/resolv.conf ] || cp $VERBOSE /etc/resolv.conf "${MNTPOINT}"/etc/resolv.conf - # provide system's /etc/hosts to the target: - if ! [ -f "$MNTPOINT/etc/hosts" ] ; then - cp $VERBOSE /etc/hosts "${MNTPOINT}"/etc/hosts - fi - # setup default locales [ -n "$LOCALES" ] && cp $VERBOSE "${CONFFILES}"/locale.gen "${MNTPOINT}"/etc/locale.gen