Skip to content

Commit 3e5427a

Browse files
update --accept-license setup message
1 parent 9b55b69 commit 3e5427a

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

splunk/common-files/entrypoint.sh

Lines changed: 5 additions & 1 deletion
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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ 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"
23-
printf "For example: docker run -e SPLUNK_START_ARGS=--accept-license splunk/universalforwarder\n\n"
24-
printf "For additional information and examples, see the help: docker run -it splunk/universalforwarder help\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"
27+
printf "For example: docker run -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD splunk/splunk\n\n"
28+
printf "For additional information and examples, see the help: docker run -it splunk/splunk help\n"
2529
exit 1
2630
fi
2731
}

0 commit comments

Comments
 (0)