netdata/packaging: fix kickstart-static64 argument parsing (#6892)
* netdata/packaging: fix kickstart-static64 argument parsing * netdata/packaging: update md5sum
Paul Emm. Katsoulakis committed
Sep 19, 2019 at 11:40 UTC
6dd4a11ec327aa5d0dc9df00cf61d2a03800ad48
2 files changed
+4
-1
packaging/installer/README.md
+1
-1
@@ -109,7 +109,7 @@ This script installs Netdata at `/opt/netdata`.
109
Verify the integrity of the script with this:
110
111
```bash
112
-[ "5c432e78d5f40403e8b7c00b1a19a7ca" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
112
+[ "c529e4eb7ce201845cef605d450f8380" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
113
```
114
115
*It should print `OK, VALID` if the script is the one we ship.*
packaging/installer/kickstart-static64.sh
+3
@@ -188,10 +188,13 @@ RELEASE_CHANNEL="nightly"
188
while [ -n "${1}" ]; do
189
if [ "${1}" = "--dont-wait" ] || [ "${1}" = "--non-interactive" ] || [ "${1}" = "--accept" ]; then
190
opts="${opts} --accept"
191
+ shift 1
192
elif [ "${1}" = "--dont-start-it" ]; then
193
inner_opts="${inner_opts} ${1}"
194
+ shift 1
195
elif [ "${1}" = "--stable-channel" ]; then
196
RELEASE_CHANNEL="stable"
197
+ shift 1
198
elif [ "${1}" = "--local-files" ]; then
199
shift 1
200
if [ -z "${1}" ]; then