mirror of https://github.com/pikvm/pikvm.git
Cleanup
This commit is contained in:
parent
459c1a0018
commit
4e78eb010b
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue