My current /etc/netplan/wifi.yaml looks like this:
network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: yes
optional: true
access-points:
"myssid":
"mypw"
Then netplan generate produces /run/netplan/wpa-wlan0.conf:
ctrl_interface=/run/wpa_supplicant
network={
ssid="myssid"
key_mgmt=WPA-PSK
psk="mypw"
}
How to add country=NL to it without losing it after the next netplan generate?
Or is there another way to specify the Wi-Fi region?
I'm running Ubuntu 20.10 on Raspberry Pi 4 64-bit, if it matters.