ia64/xen-unstable

changeset 16968:8b6fa61bb433

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>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Feb 02 10:55:25 2008 +0000 (2008-02-02)
parents b1b93caa7d8e
children bb0477a0e9f2
files tools/examples/xen-network-common.sh
line diff
     1.1 --- a/tools/examples/xen-network-common.sh	Sat Feb 02 10:53:24 2008 +0000
     1.2 +++ b/tools/examples/xen-network-common.sh	Sat Feb 02 10:55:25 2008 +0000
     1.3 @@ -76,7 +76,7 @@ find_dhcpd_init_file()
     1.4  
     1.5  find_dhcpd_arg_file()
     1.6  {
     1.7 -  first_file -f /etc/sysconfig/dhcpd /etc/defaults/dhcp
     1.8 +  first_file -f /etc/sysconfig/dhcpd /etc/defaults/dhcp /etc/default/dhcp3-server
     1.9  }
    1.10  
    1.11  # configure interfaces which act as pure bridge ports: