netplan does not allow a top-level 'routes' stanza
Bug #2022957 reported by
Tilman Baumann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Reading through documentation and specs I can see that routes are only allowed to be declared as per device configuration.
However there is no reason or need to do this. Routes are global elements and very rarely ever device specific.
It should be possible to define routes as top level elements.
The same is very much true for the default route settings too. This is just not a device specific configuration. Thankfully this syntax is already deprecated.
This is quite related to https:/
Just because everyone else in the past did it wrong doesn't mean that we have to repeat this nonsense.
Chhers and thanks
Tilman Baumann
To post a comment you must log in.
The existence of the `on-link` flag for routes pretty much says it all. :D