diff options
author | Eduardo Otubo <otubo@redhat.com> | 2020-09-15 18:00:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-15 12:00:00 -0400 |
commit | 8439b191ec2f336d544cab86dba2860f969cd5b8 (patch) | |
tree | da218a3e9c514c16c94e49fbc44ade016ea5298d /systemd | |
parent | e56b55452549cb037da0a4165154ffa494e9678a (diff) | |
download | vyos-cloud-init-8439b191ec2f336d544cab86dba2860f969cd5b8.tar.gz vyos-cloud-init-8439b191ec2f336d544cab86dba2860f969cd5b8.zip |
network: Fix type and respect name when rendering vlan in sysconfig. (#541)
Prior to this change, vlans were rendered in sysconfig with
'TYPE=Ethernet', and incorrectly rendered the PHYSDEV based on
the name of the vlan device rather than the 'link' provided
in the network config.
The change here fixes:
* rendering of TYPE=Ethernet for a vlan
* adds a warning if the configured device name is not supported
per the RHEL 7 docs "11.5. Naming Scheme for VLAN Interfaces"
LP: #1788915
LP: #1826608
RHBZ: #1861871
Diffstat (limited to 'systemd')
0 files changed, 0 insertions, 0 deletions