From 5d5a5bfe3fa16e7ee0e44128954bfea4e61f5f10 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 18 May 2025 20:32:56 +0200 Subject: [PATCH] Add Tailscale as an optional terminal install --- bin/omakub-sub/install.sh | 4 +++- install/terminal/optional/app-tailscale.sh | 1 + uninstall/app-tailscale.sh | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 install/terminal/optional/app-tailscale.sh create mode 100644 uninstall/app-tailscale.sh diff --git a/bin/omakub-sub/install.sh b/bin/omakub-sub/install.sh index 26a6161..7f57ce0 100644 --- a/bin/omakub-sub/install.sh +++ b/bin/omakub-sub/install.sh @@ -13,6 +13,7 @@ CHOICES=( "Retroarch Play retro games" "Spotify Stream music from the world's most popular service" "Steam Play games from Valve's store" + "Tailscale Mesh VPN based on WireGuard and with Magic DNS" "VirtualBox Virtual machines to run Windows/Linux" "Zoom Attend and host video chat meetings" "Web Apps Install web apps with their own icon and shell" @@ -20,7 +21,7 @@ CHOICES=( "<< Back " ) -CHOICE=$(gum choose "${CHOICES[@]}" --height 21 --header "Install application") +CHOICE=$(gum choose "${CHOICES[@]}" --height 22 --header "Install application") if [[ "$CHOICE" == "<< Back"* ]] || [[ -z "$CHOICE" ]]; then # Don't install anything @@ -41,6 +42,7 @@ else "dev-language") INSTALLER_FILE="$OMAKUB_PATH/install/terminal/select-dev-language.sh" ;; "dev-database") INSTALLER_FILE="$OMAKUB_PATH/install/terminal/select-dev-storage.sh" ;; "ollama") INSTALLER_FILE="$OMAKUB_PATH/install/terminal/optional/app-ollama.sh" ;; + "tailscale") INSTALLER_FILE="$OMAKUB_PATH/install/terminal/optional/app-tailscale.sh" ;; *) INSTALLER_FILE="$OMAKUB_PATH/install/desktop/optional/app-$INSTALLER.sh" ;; esac diff --git a/install/terminal/optional/app-tailscale.sh b/install/terminal/optional/app-tailscale.sh new file mode 100644 index 0000000..ada2f4a --- /dev/null +++ b/install/terminal/optional/app-tailscale.sh @@ -0,0 +1 @@ +curl -fsSL https://tailscale.com/install.sh | sh diff --git a/uninstall/app-tailscale.sh b/uninstall/app-tailscale.sh new file mode 100644 index 0000000..5159101 --- /dev/null +++ b/uninstall/app-tailscale.sh @@ -0,0 +1 @@ +sudo apt remove -y tailscale