Fix to Xen NAT network scripts for Debian.
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 2 Feb 2008 10:55:25 +0000 (10:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 2 Feb 2008 10:55:25 +0000 (10:55 +0000)
Xen recently (changeset 16873:86c32269ba60) started looking for a
DHCP defaults file in /etc/sysconfig/dhcpd or /etc/defaults/dhcp.
Debian (lenny) puts this file in a different place though:
/etc/default/dhcp3-server.  I added this location to Xen's search
path.

From: Michael Abd-El-Malek <mabdelmalek@cmu.edu>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/examples/xen-network-common.sh

index 8fe9500440ed592438306967329dd91c5c6fb54e..7014333df003f9e728fc1880672b708c58f54e04 100644 (file)
@@ -76,7 +76,7 @@ find_dhcpd_init_file()
 
 find_dhcpd_arg_file()
 {
-  first_file -f /etc/sysconfig/dhcpd /etc/defaults/dhcp
+  first_file -f /etc/sysconfig/dhcpd /etc/defaults/dhcp /etc/default/dhcp3-server
 }
 
 # configure interfaces which act as pure bridge ports: