Richard W.M. Jones
2010-May-18 22:26 UTC
[Libguestfs] [PATCH] appliance: Fix /etc/resolv.conf
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora -------------- next part -------------->From 9c65e61670ce960f13dfad7ff9686779b045b964 Mon Sep 17 00:00:00 2001From: Richard Jones <rjones at redhat.com> Date: Tue, 18 May 2010 23:18:35 +0100 Subject: [PATCH 1/2] 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. --- appliance/make.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.6.6.1
On 18/05/10 23:26, Richard W.M. Jones wrote:>> From 9c65e61670ce960f13dfad7ff9686779b045b964 Mon Sep 17 00:00:00 2001 > From: Richard Jones<rjones at redhat.com> > Date: Tue, 18 May 2010 23:18:35 +0100 > Subject: [PATCH 1/2] 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. > --- > appliance/make.sh.in | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-)ACK. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team M: +44 (0)7977 267231 GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490