mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #5605 from Security-Onion-Solutions/80soup
fi xquotes
This commit is contained in:
@@ -639,7 +639,7 @@ up_2.3.5X_to_2.3.80() {
|
|||||||
|
|
||||||
if [[ "$tc" == "true" ]]; then
|
if [[ "$tc" == "true" ]]; then
|
||||||
tcname=$(grep -w true_cluster_name /opt/so/saltstack/local/pillar/global.sls | awk -F: {'print $2'})
|
tcname=$(grep -w true_cluster_name /opt/so/saltstack/local/pillar/global.sls | awk -F: {'print $2'})
|
||||||
sed -i '/elasticsearch:/a \\ config: \n cluster: \n name: $tcname' /opt/so/saltstack/local/pillar/global.sls
|
sed -i "/elasticsearch:/a \\ config: \n cluster: \n name: $tcname" /opt/so/saltstack/local/pillar/global.sls
|
||||||
sed -i '/ true_cluster_name/d' /opt/so/saltstack/local/pillar/global.sls
|
sed -i '/ true_cluster_name/d' /opt/so/saltstack/local/pillar/global.sls
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user