From: Richard Jones Date: Tue, 18 May 2010 22:18:35 +0000 (+0100) Subject: appliance: Fix /etc/resolv.conf X-Git-Tag: 1.3.14~26 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=6e10a24df0361b3e33cdfa4f0c16018a796f8b78;p=libguestfs.git appliance: Fix /etc/resolv.conf Since changing to use link local address (commit fbf29976b33a69c64dc7847c54454bf2cfa5fde6) we have included an incorrect resolv.conf file in the appliance which points to the old (qemu) DNS server. This commit changes to use the new DNS server. --- diff --git a/appliance/make.sh.in b/appliance/make.sh.in index 0dbce56..9150f55 100755 --- a/appliance/make.sh.in +++ b/appliance/make.sh.in @@ -162,7 +162,7 @@ __EOF__ @FEBOOTSTRAP_RUN@ initramfs -- touch /etc/fstab fi - echo nameserver 10.0.2.3 > resolv.conf.new + echo nameserver 169.254.2.3 > resolv.conf.new @FEBOOTSTRAP_INSTALL@ initramfs resolv.conf.new /etc/resolv.conf 0644 root.root rm resolv.conf.new