[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix to Xen NAT network scripts for Debian.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201949725 0
# Node ID 8b6fa61bb4330a47d864e5c609022e5a884b0c21
# Parent  b1b93caa7d8e2414af06f06c3a9734675f715bad
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@xxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/examples/xen-network-common.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b1b93caa7d8e -r 8b6fa61bb433 tools/examples/xen-network-common.sh
--- a/tools/examples/xen-network-common.sh      Sat Feb 02 10:53:24 2008 +0000
+++ b/tools/examples/xen-network-common.sh      Sat Feb 02 10:55:25 2008 +0000
@@ -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:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.