summaryrefslogtreecommitdiffhomepage
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2022-08-15scripts/installer.sh: add `-y` for unattended installDenton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/5377 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-08-10installer.sh: add manjaro-arm & EndeavourOS.Denton Gentry1-4/+4
Fixes https://github.com/tailscale/tailscale/issues/5192 Fixes https://github.com/tailscale/tailscale/issues/5284 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-07-27scripts: update check_license_headers.sh to skip zsyscall_windows.goAaron Klotz1-0/+3
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-07-06install.sh: Add archarm and Raspbian StretchDenton Gentry1-2/+3
Fixes https://github.com/tailscale/tailscale/issues/4959 Fixes https://github.com/tailscale/tailscale/issues/4897 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-06-20Adding pkg for Freebsd installationSofiane Hamlaoui1-0/+7
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-06-20adding --noconfirm to pacman installationSofiane Hamlaoui1-1/+1
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-05-27scripts/installer: fix elementaryOSDenton Gentry1-2/+17
c2b907c965d18eeacff3d7796f486b45f7fb662b moved UBUNTU_VERSION out of the ubuntu case and into linuxmint, but linuxmint wasn't the only Ubuntu-based system which needed it. Restore UBUNTU_VERSION handling in the ubuntu case. Break elementaryOS out into its own handling so we can get the version number handling correct for keyring support. Tested on an elementaryOS 6.1 VM. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-20install.sh: add RHEL9.Denton Gentry1-1/+2
Fixes https://github.com/tailscale/tailscale/issues/4718 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-16scripts/installer.sh: add Xen EnterpriseDenton Gentry1-0/+5
Tested on a VM running Xen Enterprise 8.2.1. https://xcp-ng.org/ Fixes https://github.com/tailscale/tailscale/issues/4655 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20scripts/install: add Alma Linux.Denton Gentry1-1/+1
Tested using an Alma Linux 8.5 VM. Updates https://github.com/tailscale/tailscale/issues/2915 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20scripts/installer: support LinuxMint Debian.Denton Gentry1-7/+20
The primary distribution for LinuxMint is based on Ubuntu, but there is an alternate Debian-based distribution called LMDE. Both variations identify themselves as "linuxmint" We added UBUNTU_VERSION to the Ubuntu handling for linuxmint, the only distribution so far found to do this. Instead, split linuxmint out into its own case and use either UBUNTU_VERSION or DEBIAN_VERSION, whichever is present. Tested on an LMDE 5 (elsie) VM. Updates https://github.com/tailscale/tailscale/issues/2915 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20scripts/installer: call emerge with --ask=nDenton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/4354 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20scripts/installer: add ParrotOS supportDenton Gentry1-0/+11
Support ParrotSec https://parrotsec.org/ Tested using a Parrot 5.0 VM. Updates https://github.com/tailscale/tailscale/issues/2915 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-03-17scripts: install gnupg only when apt-key is neededSimon Deziel1-1/+1
apt-key depends on gnupg but apt-key itself if not used on modern systems (APT_KEY_TYPE=keyring). Signed-off-by: Simon Deziel <simon@sdeziel.info>
2022-02-17scripts/installer: add Ubuntu 22.04 LTS Jammy Jellyfish (#3955)Xe Iaso1-1/+2
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-02-14scripts/installer: automagically run apt update (#3939)Xe Iaso1-1/+2
When running this script against a totally fresh out of the box Debian 11 image, sometimes it will fail to run because it doesn't have a package list cached. This patch adds an `apt-get update` to ensure that the local package cache is up to date. Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-02-10add -y flag for xbps to allow installation on voidJay Stapleton1-1/+1
Signed-off-by: Jay Stapleton <jay@tailscale.com>
2022-02-10add -y flag for xbps to allow installation on voidJay Stapleton1-1/+1
2022-02-07installer.sh: accommodate linuxmint versioning.Denton Gentry1-1/+6
Recent linuxmint releases now use VERSION_CODENAME for a linuxmint release (like "uma") and set UBUNTU_CODENAME to the Ubuntu release they branched from. Tested in a linuxmint 20.2 VM. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-01-26scripts/installer: add Centos Stream 9 support (#3818)Xe Iaso1-2/+3
Blocked on package server support being deployed Signed-off-by: Xe <xe@tailscale.com>
2022-01-24envknob: add new package for all the strconv.ParseBool(os.Getenv(..))Brad Fitzpatrick1-1/+1
A new package can also later record/report which knobs are checked and set. It also makes the code cleaner & easier to grep for env knobs. Change-Id: Id8a123ab7539f1fadbd27e0cbeac79c2e4f09751 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-01-17control/controlbase: rename from control/noise.David Anderson1-1/+1
Updates #3488 Signed-off-by: David Anderson <danderson@tailscale.com>
2022-01-17Update installer.shJay Stapleton1-2/+2
2022-01-12scripts/installer.sh: add support to use the unstable track.Maisem Ali1-8/+18
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-01-11scripts: install gnupg deb, pass --yes to apt-getBrad Fitzpatrick1-4/+3
Fixes #3685 Fixes #3528 Fixes #3649 Change-Id: Ie029fca6cf3d07a77d228e9591ec1c1c828e68af Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-16scripts/installer.sh fix APT_SYSTEMCTL_START errorJay Stapleton1-0/+1
fix error: 'sh: 411: APT_SYSTEMCTL_START: parameter not set' on certain debian distributions Signed-off-by: Jay Stapleton <jay@tailscale.com>
2021-12-13install.sh: add linuxmint, kali, several more.Denton Gentry1-1/+27
After apt install, Kali Linux had not enabled nor started the tailscaled systemd service. Add a quirks mode to enable and start it after apt install for debian platforms. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-12-13scripts/installer.sh: press Y on RHELDavid Crawshaw1-1/+1
For #3540 Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2021-11-23scripts/installer.sh: add more Linux variants.Denton Gentry1-2/+2
Updates https://github.com/tailscale/tailscale/issues/2915 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-11-10control/noise: implement the base transport for the 2021 control protocol.David Anderson1-0/+6
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-11-01scripts/installer: handle fedora (#3235)Xe1-0/+3
We missed a switch case. Signed-off-by: Christine Dodrill <xe@tailscale.com>
2021-10-20scripts/installer.sh: use .asc suffix for armored debian gpg key URL.David Anderson1-1/+1
Fixes #2512 Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-20scripts/installer.sh: Correct support for Oracle Linux.David Anderson1-2/+17
Co-Authored-By: Jonathan Hult <jhult@mythics.com> Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19scripts/installer.sh: use expr for regex matches.David Anderson1-2/+2
=~ doesn't work in posix shell, only in bash, and we don't use bash. Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19scripts/installer.sh: use the appropriate apt key wrangling for the distro.David Anderson1-3/+38
Updates #1937 Signed-off-by: David Anderson <danderson@tailscale.com>
2021-10-19scripts/installer.sh: add a few more supported distro versions.David Anderson1-2/+6
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-08-06scripts/installer: work on Oracle Linux (#2604)Christine Dodrill1-2/+2
Before we didn't detect it properly. Since Oracle Linux is diet centos, we can just make the centos logic detect Oracle linux and everything should be fine. Signed-off-by: Christine Dodrill <xe@tailscale.com>
2021-07-19scripts: remove special case for _strings.go files in check license headersJosh Bleecher Snyder1-3/+0
And add a license header for derp/dropreason_string.go to make it happy. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-07-12derp: add counters to track the type of dropped packets.David Anderson1-1/+4
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14scripts: fix up installer script comments.David Anderson1-1/+3
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14scripts: detect curl vs. wget and use the right one.David Anderson1-2/+15
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14scripts: use codenames for ubuntu, since that's what our repo uses.David Anderson1-7/+7
Signed-off-by: David Anderson <danderson@tailscale.com>
2021-05-14scripts: add an install script.David Anderson1-0/+384
The script detects one of the supported OS/version combos, and issues the right install instructions for it. Co-authored-by: Christine Dodrill <xe@tailscale.com> Signed-off-by: David Anderson <danderson@tailscale.com>
2021-01-08Allow 2021 in LICENSE header.Denton Gentry1-1/+1
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2020-09-10scripts: don't descend into .git for license header checkBrad Fitzpatrick1-1/+1
2020-04-30wgengine/router: split out from wgengine.David Anderson1-1/+1
The router implementations are logically separate, with their own API. Signed-off-by: David Anderson <danderson@tailscale.com>
2020-03-17scripts: add a license header checker.David Anderson1-0/+54
Signed-off-by: David Anderson <dave@natulte.net>