Skip to content

Commit

Permalink
kickstart: pass options to installer (netdata#7051)
Browse files Browse the repository at this point in the history
* kickstart: pass options to installer

- pass --stable-channel option
- append --dont-wait option to list of passthrough options

* kickstart: passthrough --stable-channel in static64

* kickstart: update checksums in readme

* Revert "kickstart: passthrough --stable-channel in static64"

This reverts commit 678ebba.

* Revert kickstart-static64 checksum update
  • Loading branch information
oxplot authored and Saruspete committed May 21, 2020
1 parent 334d3cd commit 66bc018
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To learn more about the pros and cons of using *nightly* vs. *stable* releases,
Verify the integrity of the script with this:

```bash
[ "735e9966a4cf0187863e06a5282b34a7" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
[ "0ae8dd3c4c9b976c4342c9fc09d9afae" = "$(curl -Ss https://my-netdata.io/kickstart.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._
Expand Down
3 changes: 2 additions & 1 deletion packaging/installer/kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ while [ -n "${1}" ]; do
shift 1
elif [ "${1}" = "--stable-channel" ]; then
RELEASE_CHANNEL="stable"
NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --stable-channel"
shift 1
elif [ "${1}" = "--local-files" ]; then
shift 1
Expand Down Expand Up @@ -351,7 +352,7 @@ done

if [ "${INTERACTIVE}" = "0" ]; then
PACKAGES_INSTALLER_OPTIONS="--dont-wait --non-interactive ${PACKAGES_INSTALLER_OPTIONS}"
NETDATA_INSTALLER_OPTIONS="--dont-wait"
NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --dont-wait"
fi

TMPDIR=$(create_tmp_directory)
Expand Down

0 comments on commit 66bc018

Please sign in to comment.