Mercurial > hg > aboriginal
changeset 670:bf289e4e93de
Adjust /etc/resolv.conf for read-only root filesystem.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 29 Mar 2009 16:06:29 -0500 |
parents | 1cf41855bb85 |
children | fda459e9515a |
files | sources/native/etc/resolv.conf sources/native/sbin/init.sh |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /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
--- 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