route statements without metric are silently ignored
Bug #1806456 reported by
George Shuklin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
If routes element have no metric key, it is silently ignored.
Example configuration:
network:
version: 2
renderer: networkd
ethernets:
ens7:
dhcp4: true
routes:
- to: 192.168.1.0/24
via: 10.160.0.1
Expected behavior:
- Warn user or reject config
Actual behavior:
Nothing in networkd configuration.
To post a comment you must log in.