# Example first-boot network config for the Pi, with Wi-Fi. COPY it to `network-config` on the card's # `system-boot` partition and fill in SSID and PASSWORD (or keep a filled copy outside the repo: # `pi/50-cloud-init.yaml` is gitignored for that, because it holds your password). # # cloud-init applies this on the FIRST boot only. To change Wi-Fi later, edit # /etc/netplan/50-cloud-init.yaml on the Pi (mode 600, owner root), or bump `instance_id` in `meta-data` # on the boot partition to force a fresh first boot. # Spaces only, no tabs. Quote the SSID and password. network: version: 2 ethernets: eth0: dhcp4: true optional: true wifis: wlan0: dhcp4: true optional: false regulatory-domain: US # set your country: the Pi may refuse some 5 GHz channels without it access-points: "SSID": password: "PASSWORD"