From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm tools: Improve init within a custom filesystem Date: Wed, 24 Aug 2011 20:30:05 +0300 Message-ID: <4E55351D.9020805@redhat.com> References: <1314202772-16252-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: penberg@kernel.org, kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Sasha Levin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45107 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752670Ab1HXRaT (ORCPT ); Wed, 24 Aug 2011 13:30:19 -0400 In-Reply-To: <1314202772-16252-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/24/2011 07:19 PM, Sasha Levin wrote: > This patch adds the following improvements: > > * Automatically start dhcpcd. Since we provide usermode netowrking > we should make it fully transparent to the user. On my hosts, I have dhclient instead of dhcpd. > > + puts("Running dhcpcd..."); > + > + system("dhcpcd -z eth* -A"); > + > puts("Starting '/bin/sh'..."); > Better not depend on interface names, instead get the interface names from the kernel. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.