diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-01-14 07:45:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 07:45:57 -0500 |
commit | cc0de9f292c4bc1e91a8ec27114624c3b4e8becf (patch) | |
tree | 79a73aa59833d4eb02ca5b1811dbb4ddc89d2677 /packaging/installer/README.md | |
parent | 51e6a41ab140daeaefdbeb1349ac098aa97145ce (diff) |
Make auto-updates work on kickstart-static64 installs. (#7704)
* Store only the options for reinstall, not the full command.
This simplifies handling of updates with the static installer.
* Properly utilize the updater for static installs.
* Disable auto-updater when using local files.
If using local files, we can probably assume a system without a network
connection, so don't enable the auto-updater.
* Document support for auto-updates from kickstart-static64
* Fix infinite loop in auto-update option.
* Update kickstart-static64 checksum in docs.
* Remove unnecessary `sed` argument.
Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Diffstat (limited to 'packaging/installer/README.md')
-rw-r--r-- | packaging/installer/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/installer/README.md b/packaging/installer/README.md index 5a7881d065..1fcbcc6d4e 100644 --- a/packaging/installer/README.md +++ b/packaging/installer/README.md @@ -116,7 +116,7 @@ This script installs Netdata at `/opt/netdata`. Verify the integrity of the script with this: ```bash -[ "23e0f38dfb9d517be16393c3ed1f88bd" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" +[ "9e0901736a8ed5ebcc84bc1c2c7b5db9" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" ``` *It should print `OK, VALID` if the script is the one we ship.* @@ -153,6 +153,7 @@ sh /tmp/kickstart-static64.sh - The static binary files are kept in repo [binary-packages](https://github.com/netdata/binary-packages). You can download any of the `.run` files, and run it. These files are self-extracting shell scripts built with [makeself](https://github.com/megastep/makeself). - The target system does **not** need to have bash installed. - The same files can be used for updates too. +- If the `--local-files` option was not specified, installs `netdata-updater.sh` to `cron.daily`, so your Netdata installation will be updated daily (you will get a message from cron only if the update fails). - For QA purposes, this installation method lets us know if it succeed or failed. </details> |