From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferry Huberts Subject: [PATCH] make kvm service script use dhclient config Date: Thu, 05 Jul 2007 21:12:15 +0200 Message-ID: <468D428F.1040203@hupie.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010106040201050900060509" To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --------------010106040201050900060509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi list, in order to make the kvm service script work with DHCP on FC6 I had to apply the following patch. Hope it's useful :-) Ferry --- kvm 2007-06-07 17:13:47.000000000 +0200 +++ /etc/init.d/kvm 2007-07-05 21:06:43.000000000 +0200 @@ -132,7 +132,7 @@ pgrep dhclient >/dev/null 2>&1 || i=4 sleep 1 done - dhclient ${dst} >/dev/null 2>&1 + dhclient -cf /etc/dhclient-${pif}.conf ${dst} >/dev/null 2>&1 else get_ip_info ${src} ifconfig ${src} 0.0.0.0 --------------010106040201050900060509 Content-Type: text/x-patch; name="patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.diff" --- kvm 2007-06-07 17:13:47.000000000 +0200 +++ /etc/init.d/kvm 2007-07-05 21:06:43.000000000 +0200 @@ -132,7 +132,7 @@ pgrep dhclient >/dev/null 2>&1 || i=4 sleep 1 done - dhclient ${dst} >/dev/null 2>&1 + dhclient -cf /etc/dhclient-${pif}.conf ${dst} >/dev/null 2>&1 else get_ip_info ${src} ifconfig ${src} 0.0.0.0 --------------010106040201050900060509 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --------------010106040201050900060509 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------010106040201050900060509--