Add tailscale
This commit is contained in:
14
install.sh
14
install.sh
@@ -17,7 +17,8 @@ dialog --erase-on-exit \
|
|||||||
"4" "Install GNOME Desktop" "on" \
|
"4" "Install GNOME Desktop" "on" \
|
||||||
"5" "Install GitHub CLI" "off"\
|
"5" "Install GitHub CLI" "off"\
|
||||||
"6" "Install Ollama" "off"\
|
"6" "Install Ollama" "off"\
|
||||||
"7" "Install Apps (Enables Flatpak)" "on" 2> choice.tmp
|
"7" "Install Apps (Enables Flatpak)" "on"\
|
||||||
|
"8" "Install Tailscale (VPN)" "on" 2> choice.tmp
|
||||||
main_menu=$( cat choice.tmp )
|
main_menu=$( cat choice.tmp )
|
||||||
rm choice.tmp
|
rm choice.tmp
|
||||||
|
|
||||||
@@ -210,4 +211,15 @@ for selection in $main_menu; do
|
|||||||
flatpak install flathub $app
|
flatpak install flathub $app
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$selection" = "8" ]; then
|
||||||
|
clear
|
||||||
|
echo "-------------------------"
|
||||||
|
echo "--- Install Tailscale ---"
|
||||||
|
echo "-------------------------"
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
|
||||||
|
curl -fsSL https://tailscale.com/install.sh | sh
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
14
server.sh
14
server.sh
@@ -13,7 +13,8 @@ dialog --erase-on-exit \
|
|||||||
--checklist "Use the arrow keys and SPACE to select, then press ENTER." 30 90 5 \
|
--checklist "Use the arrow keys and SPACE to select, then press ENTER." 30 90 5 \
|
||||||
"1" "Update OS" "on"\
|
"1" "Update OS" "on"\
|
||||||
"2" "Copy Dotfiles" "on"\
|
"2" "Copy Dotfiles" "on"\
|
||||||
"3" "Install CasaOS UI" "off" 2> choice.tmp
|
"3" "Install CasaOS UI" "off"\
|
||||||
|
"4" "Install Tailscale (VPN)" "on" 2> choice.tmp
|
||||||
main_menu=$( cat choice.tmp )
|
main_menu=$( cat choice.tmp )
|
||||||
rm choice.tmp
|
rm choice.tmp
|
||||||
|
|
||||||
@@ -82,4 +83,15 @@ for selection in $main_menu; do
|
|||||||
sudo apt install -y curl
|
sudo apt install -y curl
|
||||||
curl -fsSL https://get.casaos.io | sudo bash
|
curl -fsSL https://get.casaos.io | sudo bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$selection" = "4" ]; then
|
||||||
|
clear
|
||||||
|
echo "-------------------------"
|
||||||
|
echo "--- Install Tailscale ---"
|
||||||
|
echo "-------------------------"
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
|
||||||
|
curl -fsSL https://tailscale.com/install.sh | sh
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user