Role fails to reconfigure interface with vlan configured via netplan.
Host configuration before running role:
- bond0 on eth1 and eth2
- internal (VLAN) on bond0
Configuration for role:
- trunk (bond) on eth1 and eth2
- internal (VLAN) on trunk
Expected result:
- network configured as specified
Actual result:
- interface trunk is created
- interface bond0 is not created and have no underlays
- interface internal is still configured on bond0
Possible fix:
-
add- Did not worknmcli --get-values device device | xargs -n 1 sh -c 'nmcli device set $0 manage yes'
before disabling interfaces
Edited by Piotr Korthals