Skip to content

Commit 81257a3

Browse files
fix: set SPLUNK_GENERAL_TERMS variable (#41)
This PR sets SPLUNK_GENERAL_TERMS variable in docker compose.
1 parent 1a1318c commit 81257a3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ services:
1616
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD:-Chang3d!}
1717
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN:-4a8a737d-5452-426c-a6f7-106dca4e813f}
1818
- SPLUNK_START_ARGS=${SPLUNK_START_ARGS:---accept-license}
19+
- SPLUNK_GENERAL_TERMS=${SPLUNK_GENERAL_TERMS:---accept-sgt-current-at-splunk-com}
1920
volumes:
2021
- ./output/Splunk_TA_Example:/opt/splunk/etc/apps/Splunk_TA_Example

scripts/run_splunk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ docker run \
3333
-e "SPLUNK_PASSWORD=Chang3d!" \
3434
-e "SPLUNK_HEC_TOKEN=4a8a737d-5452-426c-a6f7-106dca4e813f" \
3535
-e "SPLUNK_DISABLE_POPUPS=true" \
36+
-e "SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com" \
3637
-d \
3738
--pull=always \
3839
--name splunk splunk/splunk:${1:-"latest"}

0 commit comments

Comments
 (0)