Skip to content

Commit 7ddbc6d

Browse files
committed
adding compat layer for splunkenableunifiedpartition
1 parent e55f291 commit 7ddbc6d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/splunkconf-cloud-recovery.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ exec >> /var/log/splunkconf-cloud-recovery-debug.log 2>&1
270270
# 20250606 add auto SSM clean timer service
271271
# 20250609 disable splunksecrets by default for all cases to avoid version conflict with python library
272272
# 20250609 automatically adapt values for splunkenableunifiedpartition
273+
# 20250609 adding compat layer for splunkenableunifiedpartition
273274

274-
VERSION="20250509b"
275+
VERSION="20250509c"
275276

276277
# dont break script on error as we rely on tests for this
277278
set +e
@@ -592,6 +593,11 @@ setup_disk () {
592593
if [ -e "/data/cold" ]; then
593594
chown -R ${usersplunk}. /data/cold
594595
fi
596+
if [[ "$splunkenableunifiedpartition" == "true" ]]; then
597+
echo "adding compatibility layeri for unified partition"
598+
mkdir -p /data/vol1/
599+
ln -s /opt/splunk/var/lib/splunk indexes
600+
fi
595601
}
596602

597603
extend_fs () {

0 commit comments

Comments
 (0)