summaryrefslogtreecommitdiffstats
path: root/appliance
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-18 23:18:35 +0100
committerRichard Jones <rjones@redhat.com>2010-05-20 10:30:12 +0100
commit6e10a24df0361b3e33cdfa4f0c16018a796f8b78 (patch)
tree41136cfa21640a17ff54945e95305cbedbd0490a /appliance
parent58d1f3c0306d2cd9de8cf16071732f88a36c06c1 (diff)
downloadlibguestfs-6e10a24df0361b3e33cdfa4f0c16018a796f8b78.tar.gz
libguestfs-6e10a24df0361b3e33cdfa4f0c16018a796f8b78.tar.xz
libguestfs-6e10a24df0361b3e33cdfa4f0c16018a796f8b78.zip
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.
Diffstat (limited to 'appliance')
-rwxr-xr-xappliance/make.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/appliance/make.sh.in b/appliance/make.sh.in
index 0dbce56d..9150f55b 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