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>
Austin S. Hemmelgarn committed
May 6, 2024 at 13:16 UTC
6487fc4e1e5a9da8553a50ce83f3f26ea4c1e286
1 file changed
+2
packaging/installer/kickstart.sh
+2
@@ -2452,6 +2452,8 @@ parse_args() {
2452
"--offline-install-source")
2453
if [ -d "${2}" ]; then
2454
NETDATA_OFFLINE_INSTALL_SOURCE="${2}"
2455
+ # shellcheck disable=SC2164
2456
+ NETDATA_TARBALL_BASEURL="file://$(cd "${2}"; pwd)"
2457
shift 1
2458
else
2459
fatal "A source directory must be specified with the --offline-install-source option." F0501