summaryrefslogtreecommitdiffhomepage
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2025-09-18scripts/installer.sh: add Siemens Industrial OS (#17185)Erisa A1-0/+11
Fixes #17179 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-08-06scripts/installer.sh: add FreeBSD 15 (#16741)TheBigBear1-1/+2
* Update installer.sh add FreeBSD ver 15 this should fix the issue on https://github.com/tailscale/tailscale/issues/16740 Signed-off-by: TheBigBear <471105+TheBigBear@users.noreply.github.com> * scripts/installer.sh: small indentation change Signed-off-by: Erisa A <erisa@tailscale.com> Fixes #16740 --------- Signed-off-by: TheBigBear <471105+TheBigBear@users.noreply.github.com> Signed-off-by: Erisa A <erisa@tailscale.com> Co-authored-by: Erisa A <erisa@tailscale.com>
2025-08-05scripts/installer.sh: add bazzite handling (#16779)Erisa A1-0/+8
Fixes #14540 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-06-16scripts/check_license_headers.sh: delete, rewrite as a Go testBrad Fitzpatrick1-77/+0
Updates tailscale/corp#29650 Change-Id: Iad4e4ccd9d68ebb1d1a12f335cc5295d0bd05b60 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-04-14scripts/installer.sh: add Miracle Linux as a RHEL derivative (#15671)Erisa A1-1/+4
Fixes #15669 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-03-28install.sh - fix DNF 5 detection on all locales (#15325)Raúl Blanco1-1/+1
Signed-off-by: Raúl Blanco <rbr007.movil@gmail.com>
2025-03-02scripts/installer.sh: explicitly chmod 0644 installed files (#15171)Irbe Krumina1-8/+3
Updates tailscale/tailscale#15133 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2025-02-26scripts/installer.sh: ensure default umask for the installer (#15139)Irbe Krumina1-0/+8
Ensures default Linux umask 022 for the installer script to make sure that files created by the installer can be accessed by other tools, such as apt. Updates tailscale/tailscale#15133 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2025-02-20scripts/installer.sh: add SparkyLinux as a Debian derivative (#15076)Erisa A1-0/+6
Fixes #15075 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-08scripts/installer.sh: fix --yes argument for freebsd (#14958)Erisa A1-1/+1
This argument apparently has to be before the package name Updates #14745 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-06scripts/installer.sh: add BigLinux as a Manjaro derivative (#14936)Erisa A1-1/+1
Fixes #13343 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-06scripts/installer.sh: add FreeBSD 14 (#14925)Erisa A1-2/+3
Fixes #14745 Also adds --yes to pkg to match other package managers Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-30scripts/install.sh: add special case for Parrot Security (#14487)Erisa A1-0/+8
Their `os-release` doesn't follow convention. Fixes #10778 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: allow CachyOS for Arch packages (#14464)Erisa A1-1/+1
Fixes #13955 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: accept different capitalisation of deepin (#14463)Erisa A1-1/+1
Newer Deepin Linux versions use `deepin` as their ID, older ones used `Deepin`. Fixes #13570 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: add support for PikaOS (#14461)Erisa A1-0/+13
Fixes #14460 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-10-21scripts/installer.sh: allow Archcraft for Arch packages (#13870)Erisa A1-1/+1
Fixes #13869 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-10-17scripts/installer.sh: support DNF5Andrew Dunham1-2/+34
This fixes the installation on newer Fedora versions that use dnf5 as the 'dnf' binary. Updates #13828 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I39513243c81640fab244a32b7dbb3f32071e9fce
2024-07-03scripts: don't refresh the pacman repository on Arch (#12194)Chris Palmer1-1/+0
Fixes #12186 Signed-off-by: Chris Palmer <cpalmer@tailscale.com> Co-authored-by: Chris Palmer <cpalmer@tailscale.com>
2024-06-14derp/xdp,cmd/xdpderper: initial skeleton (#12390)Jordan Whited1-0/+3
This commit introduces a userspace program for managing an experimental eBPF XDP STUN server program. derp/xdp contains the eBPF pseudo-C along with a Go pkg for loading it and exporting its metrics. cmd/xdpderper is a package main user of derp/xdp. Updates tailscale/corp#20689 Signed-off-by: Jordan Whited <jordan@tailscale.com>
2024-05-01scripts/installer.sh: remove unnecessary escaping in grep (#11950)Andrew Lytvynov1-1/+1
Updates #11263 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-04-29scripts/installer.sh: enable Alpine community repo if needed (#11837)Andrew Lytvynov1-0/+8
The tailscale package is in the community Alpine repo. Check if it's commented out in `/etc/apk/repositories` and run `setup-apkrepos -c -1` if it's not. Fixes #11263 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-04-24cmd/k8s-operator,k8s-operator: proxyclass affinity (#11862)Lee Briggs1-1/+1
add ability to set affinity rules to proxyclass Updates#11861 Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-04-10scripts/installer.sh: add rpm GPG key import (#11686)Patrick O'Doherty1-0/+1
Extend the `zypper` install to import importing the GPG key used to sign the repository packages. Updates #11635 Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2024-02-27scripts/installer.sh: auto-start tailscale on Alpine (#11214)Keli1-0/+1
On Alpine, we add the tailscale service but fail to call start. This means that tailscale does not start up until the user reboots the machine. Fixes #11161 Signed-off-by: Keli Velazquez <keli@tailscale.com>
2024-02-13scripts/installer.sh: add tuxedoOS to the Ubuntu copiesNathan Woodburn1-1/+1
Signed-off-by: Nathan Woodburn <github@nathan.woodburn.au>
2023-12-14cmd/k8s-operator: operator can create subnetrouter (#9505)Irbe Krumina2-3/+20
* k8s-operator,cmd/k8s-operator,Makefile,scripts,.github/workflows: add Connector kube CRD. Connector CRD allows users to configure the Tailscale Kubernetes operator to deploy a subnet router to expose cluster CIDRs or other CIDRs available from within the cluster to their tailnet. Also adds various CRD related machinery to generate CRD YAML, deep copy implementations etc. Engineers will now have to run 'make kube-generate-all` after changing kube files to ensure that all generated files are up to date. * cmd/k8s-operator,k8s-operator: reconcile Connector resources Reconcile Connector resources, create/delete subnetrouter resources in response to changes to Connector(s). Connector reconciler will not be started unless ENABLE_CONNECTOR env var is set to true. This means that users who don't want to use the alpha Connector custom resource don't have to install the Connector CRD to their cluster. For users who do want to use it the flow is: - install the CRD - install the operator (via Helm chart or using static manifests). For Helm users set .values.enableConnector to true, for static manifest users, set ENABLE_CONNECTOR to true in the static manifest. Updates tailscale/tailscale#502 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2023-11-30util/winutil: add support for restarting Windows processes in specific sessionsAaron Klotz1-6/+12
This PR is all about adding functionality that will enable the installer's upgrade sequence to terminate processes belonging to the previous version, and then subsequently restart instances belonging to the new version within the session(s) corresponding to the processes that were killed. There are multiple parts to this: * We add support for the Restart Manager APIs, which allow us to query the OS for a list of processes locking specific files; * We add the RestartableProcess and RestartableProcesses types that query additional information about the running processes that will allow us to correctly restart them in the future. These types also provide the ability to terminate the processes. * We add the StartProcessInSession family of APIs that permit us to create new processes within specific sessions. This is needed in order to properly attach a new GUI process to the same RDP session and desktop that its previously-terminated counterpart would have been running in. * I tweaked the winutil token APIs again. * A lot of this stuff is pretty hard to test without a very elaborate harness, but I added a unit test for the most complicated part (though it requires LocalSystem to run). Updates https://github.com/tailscale/corp/issues/13998 Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2023-11-28scripts/check_license_headers: enforce license on ts/tsx filesSonia Appasamy1-1/+1
Enforcing inclusion of our OSS license at the top of .ts and .tsx files. Also updates any relevant files in the repo that were previously missing the license comment. An additional `@license` comment is added to client/web/src/index.tsx to preserve the license in generated Javascript. Updates #10261 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-08-25scripts/installer: add Kaisen, Garuda, Fedora-Asahi.Denton Gentry1-3/+3
Fixes https://github.com/tailscale/tailscale/issues/8648 Fixes https://github.com/tailscale/tailscale/issues/8737 Fixes https://github.com/tailscale/tailscale/issues/9087 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-08-23scripts/installer.sh: add CloudLinux and Alibaba LinuxDenton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/9010 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-08-12scripts/installer.sh: set Deepin to a debian versionDenton Gentry1-0/+2
Deepin Linux 20.x reports its version as "apricot" Set it to bullseye, the Debian version it corresponds to. Also fix the installer CI: OpenSUSE Leap appears to have removed curl from the base image recently, we have to install it now. Fixes https://github.com/tailscale/tailscale/issues/8850 Updates https://github.com/tailscale/tailscale/issues/7862 Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04scripts/installer.sh: add sle-micro-rancher.Denton Gentry1-0/+5
Fixes https://github.com/tailscale/tailscale/issues/5633 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04scripts/installer.sh: add BlendOS support.Denton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/8100 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-05-04scripts/installer.sh: check connectivity with pkgs.tailscale.comAnton Tolchanov1-0/+11
Installer script relies on pkgs.tailscale.com being reachable, both for checking what Linux distros are supported, but also for actually downloading repo configuration files, gpg keys and packages themselves. This change adds a simple reachability check which will print an error message when pkgs.tailscale.com is not reachable. Fixes https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-04-29.github: test installer script in CI in dockerAnton Tolchanov1-5/+9
Every time we change `installer.sh`, run it in a few docker containers based on different Linux distros, just as a simple test. Also includes a few changes to the installer script itself to make installation work in docker: - install dnf config-manager command before running it - run zypper in non-interactive mode - update pacman indexes before installing packages Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-04-20scripts/installer: add Deepin, RisiOS.Denton Gentry1-1/+10
Fixes https://github.com/tailscale/tailscale/issues/7862 Fixes https://github.com/tailscale/tailscale/issues/7899 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-25scripts/installer.sh: check Photon OS version with pkg server.Denton Gentry1-8/+1
Photon OS support crossed streams with using pkgserve to check for supported versions 6f9aed1656d0d9ff1a22ed6a022120c6a4f43688. Make Photon OS also rely on pkgserve. Updates https://github.com/tailscale/tailscale/issues/7651 Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-25scripts/installer: add VMWare PhotonOS.Denton Gentry1-0/+19
Fixes https://github.com/tailscale/tailscale/issues/7651 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-24scripts: use pkg server to determine supported deb/rpm distrosAnton Tolchanov1-86/+18
Fixes https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-03-21scripts/installer.sh: Add Ubuntu Lunar Lobster 23.04.Denton Gentry1-1/+2
pkgs.tailscale.com added support in January, need to add it to the installer script. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-10scripts/installer: add PureOS and Amazon Linux NextDenton Gentry1-1/+9
Fixes https://github.com/tailscale/tailscale/issues/7410 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-18scripts/installer.sh: add GalliumOS and Sangoma LinuxDenton Gentry1-1/+7
Fixes https://github.com/tailscale/tailscale/issues/6541 Fixes https://github.com/tailscale/tailscale/issues/6555 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-18scripts/installer.sh: add postmarketos support.Denton Gentry1-0/+5
Fixes https://github.com/tailscale/tailscale/issues/7300 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-11scripts/installer.sh: add Mendel OS and OpenMandriva.Denton Gentry1-2/+2
Fixes https://github.com/tailscale/tailscale/issues/6926 Fixes https://github.com/tailscale/tailscale/issues/7076 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-01-27all: update tools that manage copyright headersWill Norris1-11/+8
Update all code generation tools, and those that check for license headers to use the new standard header. Also update copyright statement in LICENSE file. Fixes #6865 Signed-off-by: Will Norris <will@tailscale.com>
2023-01-27all: update copyright and license headersWill Norris2-6/+4
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
2023-01-24scripts: explicitly install tailscale-archive-keyringAnton Tolchanov1-1/+1
This will ensure that the `tailscale-archive-keyring` Debian package gets installed by the installer script. Updates #3151 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-01-19cmd/tailscale/cli: make "update" work on WindowsBrad Fitzpatrick1-0/+3
Updates #6995 Co-authored-by: Aaron Klotz <aaron@tailscale.com> Change-Id: I16622f43156a70b6fbc8205239fd489d7378d57b Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-01-05scripts: permit 2023 in license headersBrad Fitzpatrick1-1/+1
Change-Id: Ia018cb8491871c8bf756c454d085780b75512962 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>