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>
pull/11545/head
Patrick O'Doherty 8 months ago committed by GitHub
parent 8fa3026614
commit 7f4cda23ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -504,6 +504,7 @@ main() {
;; ;;
zypper) zypper)
set -x set -x
$SUDO rpm --import "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/repo.gpg"
$SUDO zypper --non-interactive ar -g -r "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo" $SUDO zypper --non-interactive ar -g -r "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo"
$SUDO zypper --non-interactive --gpg-auto-import-keys refresh $SUDO zypper --non-interactive --gpg-auto-import-keys refresh
$SUDO zypper --non-interactive install tailscale $SUDO zypper --non-interactive install tailscale

Loading…
Cancel
Save