Skip to content

Commit 6f85613

Browse files
Merge pull request #688 from splunk/license-sgt-link
update --accept-license check
2 parents 49fa23c + 661d9ad commit 6f85613

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

splunk/common-files/entrypoint.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ set -e
1818
setup() {
1919
# Check if the user accepted the license
2020
if [[ "$SPLUNK_START_ARGS" != *"--accept-license"* ]]; then
21-
printf "License not accepted, please ensure the environment variable SPLUNK_START_ARGS contains the '--accept-license' flag\n"
21+
printf "License not accepted, please adjust SPLUNK_START_ARGS to indicate you have accepted the license.\n"
22+
printf "The license you are accepting is the Splunk General Terms, available here: https://www.splunk.com/en_us/legal/splunk-general-terms.html\n"
23+
printf "Unless you have jointly executed with Splunk a negotiated version of these General Terms that explicitly supersedes this agreement, by accessing or using Splunk software, you are agreeing to the Splunk General Terms.\n"
24+
printf "Please read and make sure you agree to the Splunk General Terms before you access or use this software.\n"
25+
printf "Only once you've done so should you include the '--accept-license' flag to indicate your acceptance of the Splunk General Terms and launch this software.\n"
2226
printf "For example: docker run -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD splunk/splunk\n\n"
2327
printf "For additional information and examples, see the help: docker run -it splunk/splunk help\n"
2428
exit 1

uf/common-files/entrypoint.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ set -e
1919
setup() {
2020
# Check if the user accepted the license
2121
if [[ "$SPLUNK_START_ARGS" != *"--accept-license"* ]]; then
22-
printf "License not accepted, please ensure the environment variable SPLUNK_START_ARGS contains the '--accept-license' flag\n"
22+
printf "License not accepted, please adjust SPLUNK_START_ARGS to indicate you have accepted the license.\n"
23+
printf "The license you are accepting is the Splunk General Terms, available here: https://www.splunk.com/en_us/legal/splunk-general-terms.html\n"
24+
printf "Unless you have jointly executed with Splunk a negotiated version of these General Terms that explicitly supersedes this agreement, by accessing or using Splunk software, you are agreeing to the Splunk General Terms.\n"
25+
printf "Please read and make sure you agree to the Splunk General Terms before you access or use this software.\n"
26+
printf "Only once you've done so should you include the '--accept-license' flag to indicate your acceptance of the Splunk General Terms and launch this software.\n"
2327
printf "For example: docker run -e SPLUNK_START_ARGS=--accept-license splunk/universalforwarder\n\n"
2428
printf "For additional information and examples, see the help: docker run -it splunk/universalforwarder help\n"
2529
exit 1

0 commit comments

Comments
 (0)