summaryrefslogtreecommitdiff
path: root/scripts/uchroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/uchroot')
-rwxr-xr-xscripts/uchroot1
1 files changed, 1 insertions, 0 deletions
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"