# {{ ansible_managed }} -- rendered by `make bootfs` # # Ethernet only, on purpose. Wi-Fi is NOT configured here: cloud-init renders # this through netplan into a persistent profile of netplan's own, which is not # a file this repo manages or can readily update. The Wi-Fi profiles are written # straight into /etc/NetworkManager/system-connections by user-data instead, so # the image and Ansible manage the same files. # # A card that has already booted with Wi-Fi in network-config keeps netplan's # profile. That is fine, and useful -- see the "Coexisting with netplan" note in # roles/labelprint/tasks/wifi.yml. network: version: 2 ethernets: eth0: dhcp4: true dhcp6: true optional: true