I have the following question: how does sudo netplan apply
work when it has several configuration files with different renderers: e.g. I have 2 config files in /etc/netplan
:
01-network-manager.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
99_config.yaml
network:
version: 2
renderer: networkd
ethernets:
eno1:
addresses:
- 192.168.220.1/24
# 10Gbit - optical
enp3s0f0:
addresses:
- 192.168.1.20/24
gateway4: 192.168.1.1
nameservers:
addresses: [15.20.222.162]
# 10Gbit - optical
enp3s0f1:
link-local: [ ipv4 ]
According to the information I found online, there cannot be two renderers at the same time. Moreover, I found that sudo netplan apply
will try to combine all the configuration files into one. So, how will this conflict resolve?