Erisa A
72587ab03c
scripts/installer.sh: allow Archcraft for Arch packages ( #13870 )
...
Fixes #13869
Signed-off-by: Erisa A <erisa@tailscale.com>
2024-10-21 18:13:06 +01:00
Andrew Dunham
c0a9895748
scripts/installer.sh: support DNF5
...
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-10-17 20:28:41 -04:00
Chris Palmer
59936e6d4a
scripts: don't refresh the pacman repository on Arch ( #12194 )
...
Fixes #12186
Signed-off-by: Chris Palmer <cpalmer@tailscale.com>
Co-authored-by: Chris Palmer <cpalmer@tailscale.com>
2024-07-03 09:58:01 -07:00
Andrew Lytvynov
13e1355546
scripts/installer.sh: remove unnecessary escaping in grep ( #11950 )
...
Updates #11263
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-05-01 11:09:10 -06:00
Andrew Lytvynov
d02f1be46a
scripts/installer.sh: enable Alpine community repo if needed ( #11837 )
...
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-29 13:23:46 -06:00
Patrick O'Doherty
7f4cda23ac
scripts/installer.sh: add rpm GPG key import ( #11686 )
...
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-04-10 16:58:35 -07:00
Keli
086ef19439
scripts/installer.sh: auto-start tailscale on Alpine ( #11214 )
...
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-27 09:17:12 -05:00
Nathan Woodburn
7c0651aea6
scripts/installer.sh: add tuxedoOS to the Ubuntu copies
...
Signed-off-by: Nathan Woodburn <github@nathan.woodburn.au>
2024-02-13 15:37:15 -08:00
Denton Gentry
535db01b3f
scripts/installer: add Kaisen, Garuda, Fedora-Asahi.
...
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-25 08:40:14 -07:00
Denton Gentry
1b8a538953
scripts/installer.sh: add CloudLinux and Alibaba Linux
...
Fixes https://github.com/tailscale/tailscale/issues/9010
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-08-23 15:29:17 -07:00
Denton Gentry
4940a718a1
scripts/installer.sh: set Deepin to a debian version
...
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-08-12 07:51:11 -07:00
Denton Gentry
4321d1d6e9
scripts/installer.sh: add sle-micro-rancher.
...
Fixes https://github.com/tailscale/tailscale/issues/5633
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04 17:05:51 -07:00
Denton Gentry
67882ad35d
scripts/installer.sh: add BlendOS support.
...
Fixes https://github.com/tailscale/tailscale/issues/8100
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04 08:31:58 -07:00
Anton Tolchanov
787fc41fa4
scripts/installer.sh: check connectivity with pkgs.tailscale.com
...
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-05-04 16:49:56 +02:00
Anton Tolchanov
1f4a34588b
.github: test installer script in CI in docker
...
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-29 08:48:19 +01:00
Denton Gentry
c791e64881
scripts/installer: add Deepin, RisiOS.
...
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-04-20 18:51:50 -07:00
Denton Gentry
ed10a1769b
scripts/installer.sh: check Photon OS version with pkg server.
...
Photon OS support crossed streams with using pkgserve to check
for supported versions 6f9aed1656
.
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-25 18:08:20 -07:00
Denton Gentry
d5abdd915e
scripts/installer: add VMWare PhotonOS.
...
Fixes https://github.com/tailscale/tailscale/issues/7651
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-25 04:53:40 -07:00
Anton Tolchanov
6f9aed1656
scripts: use pkg server to determine supported deb/rpm distros
...
Fixes https://github.com/tailscale/corp/issues/8952
Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-03-24 17:36:43 +00:00
Denton Gentry
cc3806056f
scripts/installer.sh: Add Ubuntu Lunar Lobster 23.04.
...
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-21 15:17:38 -07:00
Denton Gentry
047b324933
scripts/installer: add PureOS and Amazon Linux Next
...
Fixes https://github.com/tailscale/tailscale/issues/7410
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-10 15:22:27 -08:00
Denton Gentry
6dabb34c7f
scripts/installer.sh: add GalliumOS and Sangoma Linux
...
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-18 23:13:05 +00:00
Denton Gentry
1ba0b7fd79
scripts/installer.sh: add postmarketos support.
...
Fixes https://github.com/tailscale/tailscale/issues/7300
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-18 16:06:47 +00:00
Denton Gentry
01d58c9b61
scripts/installer.sh: add Mendel OS and OpenMandriva.
...
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-02-11 17:57:49 +00:00
Will Norris
71029cea2d
all: update copyright and license headers
...
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-27 15:36:29 -08:00
Anton Tolchanov
b49aa6ac31
scripts: explicitly install tailscale-archive-keyring
...
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-24 17:05:23 +00:00
Denton Gentry
2a1f1c79ca
scripts/installer.sh: add SUSE Enterprise Server.
...
Fixes https://github.com/tailscale/tailscale/issues/6840
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-12-24 08:12:01 -08:00
Denton Gentry
446057d613
scripts/installer.sh: add Nobara Linux.
...
Fixes https://github.com/tailscale/tailscale/issues/5763
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-11-10 14:25:26 -08:00
Denton Gentry
3d8eda5b72
scripts/install.sh: add RHEL7.
...
Fixes https://github.com/tailscale/tailscale/issues/5729
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-10-31 05:35:32 -07:00
Denton Gentry
5677ed1e85
scripts/installer.sh: add Debian Sid (rolling release)
...
There is no VERSION_ID.
root@sid:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/ "
SUPPORT_URL="https://www.debian.org/support "
BUG_REPORT_URL="https://bugs.debian.org/ "
Fixes https://github.com/tailscale/tailscale/issues/5522
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-10-31 05:35:32 -07:00
Denton Gentry
798dba14eb
scripts/install.sh: add openSUSE Leap 15.4
...
Fixes https://github.com/tailscale/tailscale/issues/6095
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-10-31 05:35:32 -07:00
Denton Gentry
9beb07b4ff
scripts/install.sh: add Ubuntu Kinetic Kudu
...
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-10-24 07:17:00 -07:00
Denton Gentry
51d488673a
scripts/installer.sh: add OSMC
...
Fixes https://github.com/tailscale/tailscale/issues/4960
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-10-11 04:24:41 -07:00
Denton Gentry
1c0286e98a
scripts/installer.sh: add -y
for unattended install
...
Fixes https://github.com/tailscale/tailscale/issues/5377
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-08-15 10:28:55 -07:00
Denton Gentry
5d731ca13f
installer.sh: add manjaro-arm & EndeavourOS.
...
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-08-10 20:10:48 -07:00
Denton Gentry
e6572a0f08
install.sh: Add archarm and Raspbian Stretch
...
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-07-06 05:41:06 -07:00
Sofiane Hamlaoui
1007983159
Adding pkg for Freebsd installation
...
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-06-20 11:31:10 -07:00
Sofiane Hamlaoui
51cc0e503b
adding --noconfirm to pacman installation
...
Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
2022-06-20 11:31:10 -07:00
Denton Gentry
0f95eaa8bb
scripts/installer: fix elementaryOS
...
c2b907c965
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-27 06:21:15 -07:00
Denton Gentry
36af49ae7f
install.sh: add RHEL9.
...
Fixes https://github.com/tailscale/tailscale/issues/4718
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-05-20 09:49:39 -07:00
Denton Gentry
afb3f62b01
scripts/installer.sh: add Xen Enterprise
...
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-05-16 08:37:39 -07:00
Denton Gentry
13f75b9667
scripts/install: add Alma Linux.
...
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-20 17:43:49 -07:00
Denton Gentry
c2b907c965
scripts/installer: support LinuxMint Debian.
...
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-20 17:43:49 -07:00
Denton Gentry
61868f281e
scripts/installer: call emerge with --ask=n
...
Fixes https://github.com/tailscale/tailscale/issues/4354
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-04-20 17:43:49 -07:00
Denton Gentry
db7da6622a
scripts/installer: add ParrotOS support
...
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-04-20 17:43:49 -07:00
Simon Deziel
eaf5591953
scripts: install gnupg only when apt-key is needed
...
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-03-17 15:11:25 -07:00
Xe Iaso
a45f8accdb
scripts/installer: add Ubuntu 22.04 LTS Jammy Jellyfish ( #3955 )
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-02-17 09:52:35 -05:00
Xe Iaso
b4947be0c8
scripts/installer: automagically run apt update ( #3939 )
...
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-14 15:55:46 -05:00
Jay Stapleton
39d173e5fc
add -y flag for xbps to allow installation on void
...
Signed-off-by: Jay Stapleton <jay@tailscale.com>
2022-02-10 16:05:17 -05:00
Jay Stapleton
c8551c8a67
add -y flag for xbps to allow installation on void
2022-02-10 16:05:17 -05:00