@cryptotaxi247 / netdata-1 / commits / 598ce2180

kickstart.sh: fix quoting for globbing (#12148)

* kickstart.sh: fix quoting for globbing Signed-off-by: Cyril Duval <cyril@fayak.com> * kickstart: update MD5 Signed-off-by: Cyril Duval <cyril@fayak.com>

zarak committed Feb 16, 2022 at 13:23 UTC 598ce2180a87f9a3dd82d64d93b8a952db65a153
2 files changed +2 -2
packaging/installer/kickstart.sh
+1 -1
@@ -1392,7 +1392,7 @@ while [ -n "${1}" ]; do
1392 NETDATA_CLAIM_URL="${2}"
1393 shift 1
1394 ;;
1395 - "--claim-*")
1395 + "--claim-"*)
1396 optname="$(echo "${1}" | cut -d '-' -f 4-)"
1397 case "${optname}" in
1398 id|proxy|user|hostname)
packaging/installer/methods/kickstart.md
+1 -1
@@ -136,7 +136,7 @@ To use `md5sum` to verify the integrity of the `kickstart.sh` script you will do
136 run the following:
137
138 ```bash
139 -[ "b63815109547f15a979752fced6bfc2e" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
139 +[ "f01086a471f030c294d31e49df84850f" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
140 ```
141
142 If the script is valid, this command will return `OK, VALID`.