Update KasmVNC to version 1.3.2 and add support

pull/250/head
Muhammad Atif Ali 9 months ago
parent cf3159cb5c
commit c6895b5f5b

@ -23,7 +23,7 @@ variable "port" {
variable "kasm_version" { variable "kasm_version" {
type = string type = string
description = "Version of KasmVNC to install." description = "Version of KasmVNC to install."
default = "1.3.1" default = "1.3.2"
} }
variable "desktop_environment" { variable "desktop_environment" {

@ -82,15 +82,15 @@ if ! check_installed; then
case $distro in case $distro in
ubuntu | debian | kali) ubuntu | debian | kali)
case $version in case $version in
"18.04")
install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_bionic_${VERSION}_$${arch}.deb"
;;
"20.04") "20.04")
install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_focal_${VERSION}_$${arch}.deb" install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_focal_${VERSION}_$${arch}.deb"
;; ;;
"22.04") "22.04")
install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_jammy_${VERSION}_$${arch}.deb" install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_jammy_${VERSION}_$${arch}.deb"
;; ;;
"24.04")
install_deb "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvncserver_noble_${VERSION}_$${arch}.deb"
;;
*) *)
echo "Unsupported Ubuntu/Debian/Kali version: $${version}" echo "Unsupported Ubuntu/Debian/Kali version: $${version}"
exit 1 exit 1
@ -113,7 +113,7 @@ if ! check_installed; then
fi fi
;; ;;
alpine) alpine)
if [[ "$version" == "3.17" || "$version" == "3.18" || "$version" == "3.19" ]]; then if [[ "$version" == "3.17" || "$version" == "3.18" || "$version" == "3.19" || "$version" == "3.20" ]]; then
install_alpine "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvnc.alpine_$${version}_$${arch}.tgz" install_alpine "https://github.com/kasmtech/KasmVNC/releases/download/v${VERSION}/kasmvnc.alpine_$${version}_$${arch}.tgz"
else else
echo "Unsupported Alpine version: $${version}" echo "Unsupported Alpine version: $${version}"

Loading…
Cancel
Save