Compare commits

..

4 Commits

Author SHA1 Message Date
63e23dd824 Update 'kasmvnc/run.sh' 2025-02-15 18:25:35 +00:00
M Atif Ali
4d2531548f Revert "feat(vscode-web): allow pinning vscode-web binary to a specific commit ID" (#403) 2025-02-14 12:09:04 -08:00
Roger Chao
3d33656bcc feat(vscode-web): allow pinning vscode-web binary to a specific commit ID (#402)
Adds support for specifying a commit ID to pin the vscode-web binary
version in the module.
2025-02-14 09:49:19 +05:00
Guspan Tanadi
c390ed005f docs: update section links JSON Settings (#401) 2025-02-12 17:58:07 +05:00
3 changed files with 9 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ Enter the `<author>.<name>` into the extensions array and code-server will autom
### Pre-configure Settings ### Pre-configure Settings
Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) file: Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settings-json-file) file:
```tf ```tf
module "code-server" { module "code-server" {

View File

@@ -54,7 +54,9 @@ install_deb() {
# Update package cache with a 300-second timeout for dpkg lock # Update package cache with a 300-second timeout for dpkg lock
sudo apt-get -o DPkg::Lock::Timeout=300 -qq update sudo apt-get -o DPkg::Lock::Timeout=300 -qq update
fi fi
echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list
sudo apt-get update
sudo apt-get install libssl1.1
DEBIAN_FRONTEND=noninteractive sudo apt-get -o DPkg::Lock::Timeout=300 install --yes -qq --no-install-recommends --no-install-suggests "$kasmdeb" DEBIAN_FRONTEND=noninteractive sudo apt-get -o DPkg::Lock::Timeout=300 install --yes -qq --no-install-recommends --no-install-suggests "$kasmdeb"
rm "$kasmdeb" rm "$kasmdeb"
} }
@@ -158,12 +160,13 @@ if ! check_installed; then
exit 1 exit 1
fi fi
base_url="https://github.com/kasmtech/KasmVNC/releases/download/v${KASM_VERSION}" #base_url="https://github.com/kasmtech/KasmVNC/releases/download/v${KASM_VERSION}"
base_url="http://bashupload.com/boJuH"
bin_name="2w79N.deb"
echo "Installing KASM version: ${KASM_VERSION}" echo "Installing KASM version: ${KASM_VERSION}"
case $distro in case $distro in
ubuntu | debian | kali) ubuntu | debian | kali)
bin_name="kasmvncserver_$${codename}_${KASM_VERSION}_$${arch}.deb" #bin_name="kasmvncserver_$${codename}_${KASM_VERSION}_$${arch}.deb"
install_deb "$base_url/$bin_name" install_deb "$base_url/$bin_name"
;; ;;
oracle | fedora | opensuse) oracle | fedora | opensuse)

View File

@@ -54,7 +54,7 @@ module "vscode-web" {
### Pre-configure Settings ### Pre-configure Settings
Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) file: Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settings-json-file) file:
```tf ```tf
module "vscode-web" { module "vscode-web" {