mirror of
https://github.com/netdata/netdata.git
synced 2025-04-14 09:38:34 +00:00
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>
This commit is contained in:
parent
1b549b1dd7
commit
6487fc4e1e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue