One solution would be to loop over all the NetDefs of a specific interface type, resurrecting the "renderer" (if not set per-NetDef already), when a per-interface-type "renderer" setting is being found. E.g. in a parsing pass at the very end.
This would lead to the 2nd scenario described above, i.e. spreading the per-interface-type "renderer" field out to the individual NetDefs of this section. That is not ideal, but a step into the right direction. Ideally, we'd need some new datastructures in Netplan to track the per- interface-type renderer field, which is currently only stored per-NetDef (pluse on variable for the global renderer). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077636 Title: renderer property lost when set at the end of a network.<type> stanza To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2077636/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
