From d5637e8da07039e3f6b7cd2eff6dd28ca0767908 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:08:40 +0200 Subject: [PATCH] fix: Update location --- agent/agent.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agent/agent.sh b/agent/agent.sh index 133468b..e3208fe 100644 --- a/agent/agent.sh +++ b/agent/agent.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -u -VERSION="7" +VERSION="8" HEADER="VirtualDSM Agent" # Functions @@ -38,7 +38,7 @@ function downloadUpdate { # Auto update the agent - URL="https://raw.githubusercontent.com/kroese/virtual-dsm/master/agent/agent.sh" + URL="https://raw.githubusercontent.com/vdsm/virtual-dsm/master/agent/agent.sh" remote_size=$(curl -sIk -m 4 "${URL}" | grep -i "content-length:" | tr -d " \t" | cut -d ':' -f 2) remote_size=${remote_size//$'\r'} @@ -100,6 +100,8 @@ function installPackages { trap finish SIGINT SIGTERM ts=$(date +%s%N) + +echo "" echo "❯ Started $HEADER v$VERSION..." checkNMI