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

[Xen-devel] [PATCH] Fix NAT scripts on Debian lenny



changeset:   16968:81eaab701d93
tag:         tip
user:        mabdelmalek@xxxxxxx
date:        Sat Feb 02 04:29:26 2008 -0500
files:       tools/examples/xen-network-common.sh
description:
Fix to Xen NAT network scripts.
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.


diff -r b65e0a7ad125 -r 81eaab701d93 tools/examples/xen-network- common.sh --- a/tools/examples/xen-network-common.sh Sat Feb 02 02:33:10 2008 -0500 +++ b/tools/examples/xen-network-common.sh Sat Feb 02 04:29:26 2008 -0500
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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