appliance: Fix /etc/resolv.conf
authorRichard Jones <rjones@redhat.com>
Tue, 18 May 2010 22:18:35 +0000 (23:18 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 20 May 2010 09:30:12 +0000 (10:30 +0100)
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

index 0dbce56..9150f55 100755 (executable)
@@ -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