mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Update README.me on how to clear tailscaled data (#37)
This commit is contained in:
parent
27e97cbd09
commit
a63fb6b007
13
README.md
13
README.md
@ -71,14 +71,21 @@ Suggestions/PRs welcomed!
|
|||||||
headscale serve
|
headscale serve
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Add your first machine
|
6. If you used tailscale.com before in your nodes, make sure you clear the tailscaled data folder
|
||||||
|
```shell
|
||||||
|
systemctl stop tailscaled
|
||||||
|
rm -fr /var/lib/tailscale
|
||||||
|
systemctl start tailscaled
|
||||||
|
```
|
||||||
|
|
||||||
|
7. Add your first machine
|
||||||
```shell
|
```shell
|
||||||
tailscale up -login-server YOUR_HEADSCALE_URL
|
tailscale up -login-server YOUR_HEADSCALE_URL
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Navigate to the URL you will get with `tailscale up`, where you'll find your machine key.
|
8. Navigate to the URL you will get with `tailscale up`, where you'll find your machine key.
|
||||||
|
|
||||||
8. In the server, register your machine to a namespace with the CLI
|
9. In the server, register your machine to a namespace with the CLI
|
||||||
```shell
|
```shell
|
||||||
headscale -n myfirstnamespace node register YOURMACHINEKEY
|
headscale -n myfirstnamespace node register YOURMACHINEKEY
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user