# HG changeset patch # User Rob Landley # Date 1238360789 18000 # Node ID bf289e4e93def198cccb236bf5bc051cbbfeb414 # Parent 1cf41855bb850e6efda28761cded078211682dee Adjust /etc/resolv.conf for read-only root filesystem. diff -r 1cf41855bb85 -r bf289e4e93de sources/native/etc/resolv.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/native/etc/resolv.conf Sun Mar 29 16:06:29 2009 -0500 @@ -0,0 +1,2 @@ +# This is the default for QEMU +nameserver 10.0.2.3 diff -r 1cf41855bb85 -r bf289e4e93de sources/native/sbin/init.sh --- a/sources/native/sbin/init.sh Sun Mar 29 15:53:03 2009 -0500 +++ b/sources/native/sbin/init.sh Sun Mar 29 16:06:29 2009 -0500 @@ -37,7 +37,7 @@ # Note that 10.0.2.2 forwards to 127.0.0.1 on the host. # Setup networking for QEMU (needs /proc) - echo "nameserver 10.0.2.3" > /etc/resolv.conf + echo "nameserver 10.0.2.3" > /etc/resolv.conf 2>/dev/null ifconfig eth0 10.0.2.15 route add default gw 10.0.2.2