From 1906fb8e4eacd41f41915613b87606a789e21b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 1 Sep 2018 22:51:36 +0200 Subject: uchroot: try to fix network setup when hosts are used --- scripts/uchroot | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/uchroot b/scripts/uchroot index e036ce2..6aa76b2 100755 --- a/scripts/uchroot +++ b/scripts/uchroot @@ -27,6 +27,7 @@ mount -t proc none "$ROOT/proc" mount --rbind /dev "$ROOT/dev" mount --rbind /sys "$ROOT/sys" cp -f /etc/resolv.conf "$ROOT/etc/resolv.conf" +cp -f /etc/hosts "$ROOT/etc/hosts" if [ $# -lt 1 ]; then set "/bin/sh" -- cgit v1.2.3