scripts/installer.sh: add -y for unattended install

Fixes https://github.com/tailscale/tailscale/issues/5377

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2022-08-15 07:56:20 -07:00 committed by Denton Gentry
parent 8f38afbf8e
commit 1c0286e98a

View File

@ -480,7 +480,7 @@ main() {
;;
yum)
set -x
$SUDO yum install yum-utils
$SUDO yum install yum-utils -y
$SUDO yum-config-manager -y --add-repo "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo"
$SUDO yum install tailscale -y
$SUDO systemctl enable --now tailscaled