From 866b4810818fe31881ff05b67325e99eecdadc9f Mon Sep 17 00:00:00 2001 From: lmwangi Date: Mon, 12 Aug 2024 21:55:51 +0300 Subject: [PATCH] cosmetic updates for the markdown file --- docs/running-headscale-linux.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/running-headscale-linux.md b/docs/running-headscale-linux.md index 112886f3..d79422da 100644 --- a/docs/running-headscale-linux.md +++ b/docs/running-headscale-linux.md @@ -26,9 +26,11 @@ configuration (`/etc/headscale/config.yaml`). HEADSCALE_VERSION="" # See above URL for latest version, e.g. "X.Y.Z" (NOTE: do not add the "v" prefix!) # Or you can use the following bash one liner # HEADSCALE_VERSION="$(curl -v https://github.com/juanfont/headscale/releases/latest 2>&1 |grep location | awk -F'/' '{print $NF}' | sed -e 's/v//' | |tr -d '\r')" + HEADSCALE_ARCH="" # Your system architecture, e.g. "amd64" # Or you can use: # HEADSCALE_ARCH="$(dpkg --print-architecture)" + wget --output-document=headscale.deb \ "https://github.com/juanfont/headscale/releases/download/v${HEADSCALE_VERSION}/headscale_${HEADSCALE_VERSION}_linux_${HEADSCALE_ARCH}.deb" ``` @@ -104,7 +106,7 @@ tailscale up --login-server --authkey A sane config.yml might look like this -```shell +```yaml --- # Remember to punch a hole in your firewall for this port