set default ot off

pull/42/head
Muhammad Atif Ali 2 years ago
parent 07a0003c35
commit cb7184ea65
No known key found for this signature in database

@ -35,7 +35,7 @@ variable "log_path" {
variable "telemetry" {
type = string
description = "Telemetry options for vscode-server."
default = "crash"
default = "off"
validation {
condition = var.telemetry == "off" || var.telemetry == "crash" || var.telemetry == "error" || var.telemetry == "all"
error_message = "Variable telemetry must be set to 'off', 'crash', 'error' or 'all'."

@ -11,7 +11,7 @@ HASH=$(curl -s https://update.code.visualstudio.com/api/commits/stable/server-li
# Download and extract vscode-server tarball
output=$(wget -O /tmp/vscode-server-linux-x64-web.tar.gz https://az764295.vo.msecnd.net/stable/$HASH/vscode-server-linux-x64-web.tar.gz &&
tar -xzf /tmp/vscode-server-linux-x64-web.tar.gz -C ${INSTALL_DIR} --strip-components=1)
tar -xzf /tmp/vscode-server-linux-x64-web.tar.gz -C ${INSTALL_DIR} --strip-components=1 >/dev/null 2>&1)
if [ $? -ne 0 ]; then
echo "Failed to install vscode-server: $output"

Loading…
Cancel
Save