diff --git a/chroot_fetch b/chroot_fetch index 858044c..3deed25 100755 --- a/chroot_fetch +++ b/chroot_fetch @@ -62,6 +62,10 @@ cat << EOF > ${root}/login_shell exec -a "-sh" /bin/sh EOF +sudo cp /etc/resolv.conf ${ROOT}/etc/resolv.conf +echo "Copied the host resolv.conf into the target" +echo "Feel free to override the generated network settings prior to chrooting into the system" + echo "---------------------" echo "finished chroot_fetch" echo "---------------------" diff --git a/chroot_prepare_iglunix b/chroot_prepare_iglunix index 8081899..2efa942 100755 --- a/chroot_prepare_iglunix +++ b/chroot_prepare_iglunix @@ -112,10 +112,6 @@ echo "Hostname: ${HOSTNAME}" mkdir ${ROOT}/etc echo "$HOSTNAME" > ${ROOT}/etc/hostname -sudo cp /etc/resolv.conf ${ROOT}/etc/resolv.conf -echo "Copied the host resolv.conf into the target" -echo "Feel free to override the generated network settings prior to chrooting into the system" - echo "Finished prepare_chroot_lazy"