0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 09:38:34 +00:00

Make offline installs properly offline again. ()

* Make offline installs properly offline again.

* Update packaging/installer/kickstart.sh

* Clean up path canonicalization.

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
This commit is contained in:
Austin S. Hemmelgarn 2024-05-06 13:16:17 -04:00 committed by GitHub
parent 1b549b1dd7
commit 6487fc4e1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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