Merge pull request #1594 from Security-Onion-Solutions/issue/1593

fix grabbing soversion in so-features-enable
This commit is contained in:
Josh Patterson
2020-10-21 16:51:06 -04:00
committed by GitHub

View File

@@ -51,7 +51,7 @@ manager_check() {
}
manager_check
VERSION=$(grep soversion $local_salt_dir/pillar/global.sls | cut -d':' -f2|sed 's/ //g')
VERSION=$(lookup_pillar soversion)
# Modify global.sls to enable Features
sed -i 's/features: False/features: True/' $local_salt_dir/pillar/global.sls
SUFFIX="-features"