From a63fb6b0075028a365ab21ad3543e5a04c7ba8ec Mon Sep 17 00:00:00 2001 From: Juan Font Date: Thu, 17 Jun 2021 14:22:38 +0200 Subject: [PATCH] Update README.me on how to clear tailscaled data (#37) --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac2d642f..5a377193 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,21 @@ Suggestions/PRs welcomed! 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 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 headscale -n myfirstnamespace node register YOURMACHINEKEY ```