summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-05-06 13:16:17 -0400
committerGitHub <noreply@github.com>2024-05-06 13:16:17 -0400
commit6487fc4e1e5a9da8553a50ce83f3f26ea4c1e286 (patch)
tree544a4bd74b0785c4e5599719b513c8829f4d27d3
parent1b549b1dd79c951ee8f23e6d13f525061adc8df2 (diff)
Make offline installs properly offline again. (#17602)
* Make offline installs properly offline again. * Update packaging/installer/kickstart.sh * Clean up path canonicalization. --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
-rwxr-xr-xpackaging/installer/kickstart.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh
index e98baf2ca4..f5568475b8 100755
--- a/packaging/installer/kickstart.sh
+++ b/packaging/installer/kickstart.sh
@@ -2452,6 +2452,8 @@ parse_args() {
"--offline-install-source")
if [ -d "${2}" ]; then
NETDATA_OFFLINE_INSTALL_SOURCE="${2}"
+ # shellcheck disable=SC2164
+ NETDATA_TARBALL_BASEURL="file://$(cd "${2}"; pwd)"
shift 1
else
fatal "A source directory must be specified with the --offline-install-source option." F0501