You might think of editing /etc/netplan/50-cloud-init.yaml, but why would you when /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg fucks you over?
network:
version: 2
ethernets:
eth0:
match:
macaddress: 52:54:00:46:d6:b3
mtu: 9000
set-name: eth0
eth1:
match:
macaddress: 52:54:00:ba:da:c5
mtu: 9000
set-name: eth1
bonds:
bond0:
interfaces:
- eth0
- eth1
parameters:
down-delay: 0
lacp-rate: slow
mii-monitor-interval: 100
mode: 802.3ad
transmit-hash-policy: layer2
up-delay: 0
bridges:
br-maas:
interfaces:
- bond0.1
addresses:
- 172.16.1.1/24
parameters:
forward-delay: 15
stp: false
br-mgmt:
interfaces:
- bond0.2
addresses:
- 172.16.2.1/24
parameters:
forward-delay: 15
stp: false
vlans:
bond0.1:
id: 1
link: bond0
bond0.2:
id: 2
link: bond0
bond0.12:
id: 12
link: bond0
mtu: 1500
addresses:
- 10.0.0.30/24
gateway4: 10.0.0.254