This is unfortunately really hairy. networkd, NM etc. have "Type=" fields, which more or less match on the DEVTYPE uevent property. This is properly set for wifis, but it's empty for actual ethernets and also for vlans, some wifi devices, etc. So while I can set the restriction for "wifis:", the attached patch does not actually work as the device type is never actually "ether" (or similar).
So I'm afraid this is currently unfixable at the netplan/networkd/NM level and we need to work around this by replacing the matching of "*" to "en*". ** Patch added: "non-working patch" https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1618522/+attachment/4732285/+files/0001-networkd-Restrict-matches-to-definition-s-device-typ.patch ** Changed in: nplan (Ubuntu) Status: In Progress => Triaged ** Changed in: nplan (Ubuntu) Assignee: Martin Pitt (pitti) => (unassigned) ** Changed in: nplan (Ubuntu) Milestone: ubuntu-16.09 => None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1618522 Title: netplan does not generates .network files just for ethernet To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1618522/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
