WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix NAT scripts on Debian lenny
From: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
Date: Sat, 2 Feb 2008 04:31:22 -0500
Delivery-date: Sat, 02 Feb 2008 01:31:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix NAT scripts on Debian lenny, Michael Abd-El-Malek <=