Recognize the alternative form vlan=vlan1:eth1 for specifying VLANs on the kernel command line. Additionally adds a check for the vlan ID range.
The created links will still use the format ethX.NNNN for the interface names, but at least this patch allows parsing both forms on the command line.
What? (description)
Fixes #9552
Recognize the alternative form
vlan=vlan1:eth1
for specifying VLANs on the kernel command line. Additionally adds a check for the vlan ID range. The created links will still use the format ethX.NNNN for the interface names, but at least this patch allows parsing both forms on the command line.Why? (reasoning)
The Talos docs at https://www.talos.dev/v1.8/reference/kernel/#vlan refers to the dracut command line docs which describe two alternative formats for
vlan=
.Acceptance
Please use the following checklist:
make conformance
)make fmt
)make lint
)make docs
)make unit-tests
)