aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-02 10:55:25 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-02 10:55:25 +0000
commite9e114d5f4b870ca0b167f202b59957e7cbb64b5 (patch)
tree0268d6e82a38dad88d1e2dc1b6bf0fe77a4d25e1 /tools/examples
parent48a61dfceae46a30694d5fe9e70e3123f5dfafb7 (diff)
downloadxen-e9e114d5f4b870ca0b167f202b59957e7cbb64b5.tar.gz
xen-e9e114d5f4b870ca0b167f202b59957e7cbb64b5.tar.bz2
xen-e9e114d5f4b870ca0b167f202b59957e7cbb64b5.zip
Fix to Xen NAT network scripts for Debian.
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>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xen-network-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/examples/xen-network-common.sh b/tools/examples/xen-network-common.sh
index 8fe9500440..7014333df0 100644
--- a/tools/examples/xen-network-common.sh
+++ b/tools/examples/xen-network-common.sh
@@ -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: