Skip to content

Commit daae853

Browse files
committed
Add note about Raspberry Pi OS 13
1 parent 2f0f974 commit daae853

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/articles/linux/network-config.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ netplan is Ubuntu's solution to have a unified configuration language for both s
320320

321321
**Packages:** `netplan.io`
322322

323-
**Config files:** `/etc/netplan/*.yaml` (not `.yml`!) - [documentation](https://netplan.readthedocs.io/en/stable/netplan-yaml/#)
323+
**Config files:** `/etc/netplan/*.yaml` (not `.yml`!; [documentation](https://netplan.readthedocs.io/en/stable/netplan-yaml/#)) - `/usr/lib/netplan/*.yaml` on Raspberry Pi OS
324324

325325
**Wi-Fi password stored in:** `/etc/netplan/*.yaml`
326326

@@ -336,6 +336,11 @@ netplan is Ubuntu's solution to have a unified configuration language for both s
336336
> [!WARNING]
337337
> To use **Wi-Fi with systemd**, you need to have the `wpasupplicant` packaged installed. netplan doesn't support `iwd` with systemd.
338338
339+
> [!WARNING]
340+
> Raspberry Pi OS [adopted netplan with version 13](https://www.raspberrypi.com/news/cloud-init-on-raspberry-pi-os/). However, the devs decided to enable a sync between NetworkManager and netplan - which means **the `/etc/netplan` directory is wiped** every time netplan runs.
341+
>
342+
> If you don't want netplan to rewrite your config, you need to put it in `/usr/lib/netplan` instead.
343+
339344
### Renderers
340345

341346
netplan has two renderers: systemd and NetworkManager.

0 commit comments

Comments
 (0)