This commit is contained in:
victor 2025-09-16 21:24:52 -04:00
parent 459c1a0018
commit 4e78eb010b
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ This ensures that certificate rotation and state writes work without breaking Pi
### Solution ### Solution
Idea: Core idea:
- Mount a **tmpfs** over Tailscale's state folder stored in root's home: /root/tailscale-state. - Mount a **tmpfs** over Tailscale's state folder stored in root's home: /root/tailscale-state.
- Mount the resulting *merged* layer onto the actual Tailscale state folder at /var/lib/tailscale. - Mount the resulting *merged* layer onto the actual Tailscale state folder at /var/lib/tailscale.
- An **overlayfs** will transparently present this folder to Tailscale, while changes are kept in the RAM-based overlay layer. - An **overlayfs** will transparently present this folder to Tailscale, while changes are kept in the RAM-based overlay layer.
@ -229,6 +229,7 @@ WantedBy=multi-user.target
```console ```console
[root@pikvm ~]# systemctl daemon-reload [root@pikvm ~]# systemctl daemon-reload
[root@pikvm ~]# systemctl enable tailscale-overlay.service [root@pikvm ~]# systemctl enable tailscale-overlay.service
[root@pikvm ~]# ro
``` ```
--- ---