From: Ian Jackson Subject: Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces Date: Wed, 16 Apr 2014 16:02:26 +0100 Message-ID: <21326.39810.977898.501641@mariner.uk.xensource.com> References: <1392132354-7594-1-git-send-email-ian.jackson@eu.citrix.com> <1392132354-7594-6-git-send-email-ian.jackson@eu.citrix.com> <1397659907.24638.203.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WaRMB-0005dr-41 for xen-devel@lists.xenproject.org; Wed, 16 Apr 2014 15:02:35 +0000 In-Reply-To: <1397659907.24638.203.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 05/12] ts-xen-install: default the interface to the one in /etc/network/interfaces"): > On Tue, 2014-02-11 at 15:25 +0000, Ian Jackson wrote: > > The default was simply eth0. This is the other piece of automatically > > coping with the boot interface not being eth0. > > > > Signed-off-by: Ian Jackson > > I think/suspect this change is causing ts-xen-install to create me a > bridge with bridge_ports == xenbr0 on the second time (i.e. when using a > host). > > I notice that the second half of this function explicitly suppresses > xenbr0 -- perhaps this first half should do something similar? Yes, it probably should. Do you want to write the patch or shall I do it ? > (I haven't tried but I assume using the "interface force" host prop > would fix this...) Yes, it ought to. Ian.