# network-config (cloud-init Networking Config v2 / netplan). Rendered by OpenTofu. # Static addressing on the k3s-dev NAT: DHCP is off on the libvirt network, so each # node's IP comes from here. `match: name "en*"` avoids hard-coding ens3 vs enp1s0 # across cloud images. Gateway == libvirt bridge host IP; it also serves DNS. version: 2 ethernets: primary: match: name: "en*" dhcp4: false dhcp6: false addresses: - ${ip}/${prefix} routes: - to: default via: ${gateway} nameservers: addresses: - ${gateway}