From: Ian Campbell 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:05:20 +0100 Message-ID: <1397660720.24638.208.camel@kazak.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> <21326.39810.977898.501641@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WaRP3-0005tO-Li for xen-devel@lists.xenproject.org; Wed, 16 Apr 2014 15:05:33 +0000 In-Reply-To: <21326.39810.977898.501641@mariner.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 Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-04-16 at 16:02 +0100, Ian Jackson wrote: > 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 ? Looks like some funky Perl might be involved, so I'll leave it to you if that's ok... > > > (I haven't tried but I assume using the "interface force" host prop > > would fix this...) > > Yes, it ought to. > > Ian.