initrd: vlan DEV_PLUS_VID form can throw off ip= parsing
It's common to name a vlan device in the DEV_PLUS_VID
form. For example: eth0.100
This seems to throw off the nm-initrd-generator
. Here's an example:
[core@fedora ~]$ /usr/libexec/nm-initrd-generator -s -- ip=eth0.100:dhcp vlan=eth0.100:eth0
NetworkManager-Message: 18:20:15.484: <warn> [1605550815.4847] cmdline-reader: Unrecognized address: eth0.100
NetworkManager-Message: 18:20:15.485: <warn> [1605550815.4849] cmdline-reader: Ignoring peer: dhcp (not implemented)
*** Connection 'default_connection' ***
[connection]
id=Wired Connection
uuid=afc3afef-f73f-4cb7-a862-126418d5b7f4
type=ethernet
multi-connect=3
permissions=
[ethernet]
mac-address-blacklist=
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=eui64
dns-search=
method=auto
[proxy]
*** Connection 'eth0.100' ***
[connection]
id=eth0.100
uuid=927fada9-1712-450a-a9b7-ceef00d1a8ec
type=vlan
interface-name=eth0.100
multi-connect=1
permissions=
[ethernet]
mac-address-blacklist=
[vlan]
egress-priority-map=
flags=1
id=100
ingress-priority-map=
parent=eth0
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=eui64
dns-search=
method=auto
[proxy]
There should be no warnings and no default connection created.