netplan needs version numbering
Bug #1987147 reported by
Gordon Harris
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Opinion
|
Undecided
|
Unassigned |
Bug Description
If you're going to deprecate formerly good features (e.g. gateway4:) then netplan should have and be able to output a version number so we can determine the syntax to use.
e.g.:
netplan --version
..should return something.
To post a comment you must log in.
The netplan version information was explicitly removed a long time ago (2019) in favor of feature flags: /github. com/canonical/ netplan/ commit/ 9ea105bef2cea28 916213aad93a37e a85d89fdbc
https:/
The gateway4: field is still kept around for compatibility reasons (deprecated, though), especially on stable releases.
You can still use your package manager to check netplan's package version, e.g.:
apt show netplan.io