@cryptotaxi247 / netdata-1 / commits / e66165bc1

kickstart: pass options to installer (#7051)

* 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 678ebba6c0fc6367dd6fe696fd7536d09b826f8d. * Revert kickstart-static64 checksum update

Mansour Behabadi committed Oct 29, 2019 at 05:39 UTC e66165bc1824f08157ea3a7249391fdf9dc69b2d
2 files changed +3 -2
packaging/installer/README.md
+1 -1
@@ -48,7 +48,7 @@ To learn more about the pros and cons of using *nightly* vs. *stable* releases,
48 Verify the integrity of the script with this:
49
50 ```bash
51 -[ "735e9966a4cf0187863e06a5282b34a7" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
51 +[ "0ae8dd3c4c9b976c4342c9fc09d9afae" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
52 ```
53
54 _It should print `OK, VALID` if the script is the one we ship._
packaging/installer/kickstart.sh
+2 -1
@@ -307,6 +307,7 @@ while [ -n "${1}" ]; do
307 shift 1
308 elif [ "${1}" = "--stable-channel" ]; then
309 RELEASE_CHANNEL="stable"
310 + NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --stable-channel"
311 shift 1
312 elif [ "${1}" = "--local-files" ]; then
313 shift 1
@@ -351,7 +352,7 @@ done
352
353 if [ "${INTERACTIVE}" = "0" ]; then
354 PACKAGES_INSTALLER_OPTIONS="--dont-wait --non-interactive ${PACKAGES_INSTALLER_OPTIONS}"
354 - NETDATA_INSTALLER_OPTIONS="--dont-wait"
355 + NETDATA_INSTALLER_OPTIONS="$NETDATA_INSTALLER_OPTIONS --dont-wait"
356 fi
357
358 TMPDIR=$(create_tmp_directory)