[PATCH] network: use IpInterface instead of Interface (#1058906, #1029214)

Brian C. Lane bcl at redhat.com
Wed May 28 00:06:37 UTC 2014


On Mon, May 26, 2014 at 05:00:10PM +0200, Vratislav Podzimek wrote:
> On Mon, 2014-05-26 at 14:35 +0200, Radek Vykydal wrote:
> > For example for GSM modems we don't care about control interface
> > (eg ttyUSB0) but about data interface (eg ppp0).
> > ---
> >  pyanaconda/nm.py | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/pyanaconda/nm.py b/pyanaconda/nm.py
> > index 40058f3..b6cade6 100644
> > --- a/pyanaconda/nm.py
> > +++ b/pyanaconda/nm.py
> > @@ -150,7 +150,7 @@ def nm_devices():
> >          device_type = _get_property(device, "DeviceType", ".Device")
> >          if device_type not in supported_device_types:
> >              continue
> > -        iface = _get_property(device, "Interface", ".Device")
> > +        iface = _get_property(device, "IpInterface", ".Device")
> >          interfaces.append(iface)
> >  
> >      return interfaces
> > @@ -174,7 +174,7 @@ def nm_activated_devices():
> >              continue
> >          devices = _get_property(ac, "Devices", ".Connection.Active")
> >          for device in devices:
> > -            iface = _get_property(device, "Interface", ".Device")
> > +            iface = _get_property(device, "IpInterface", ".Device")
> >              interfaces.append(iface)
> >  
> >      return interfaces
> > @@ -498,7 +498,7 @@ def nm_device_slaves(name):
> >  
> >      slave_ifaces = []
> >      for slave in slaves:
> > -        iface = _get_property(slave, "Interface", ".Device")
> > +        iface = _get_property(slave, "IpInterface", ".Device")
> >          slave_ifaces.append(iface)
> >  
> >      return slave_ifaces
> ACK.

This seems to have something to do with 1101781 and the device name
being '', if I revert it I can boot with an updates.img of master.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list