Skip to content

Commit

Permalink
claiming: add proxy to cloud.conf if set (netdata#17828)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored Jun 5, 2024
1 parent b3d0142 commit 6ecc40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/claim/netdata-claim.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ if [ "${HTTP_STATUS_CODE}" = "204" ] || [ "${ERROR_KEY}" = "ErrAlreadyClaimed" ]
[global]
enabled = yes
cloud base url = $URL_BASE
${PROXY:+ proxy = $PROXY}
HERE_DOC
if [ "$EUID" == "0" ]; then
chown -R "${NETDATA_USER}:${NETDATA_USER}" "${CLAIMING_DIR}" || (echo >&2 "Claiming failed"; set -e; exit 2)
Expand Down

0 comments on commit 6ecc40f

Please sign in to comment.