mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
handle version install for stable and onedir install type
This commit is contained in:
@@ -5130,7 +5130,11 @@ install_centos_onedir() {
|
||||
local master='salt-master'
|
||||
local minion='salt-minion'
|
||||
local syndic='salt-syndic'
|
||||
local ver="$_ONEDIR_REV"
|
||||
if [ "$ITYPE" = "stable" ]; then
|
||||
local ver="$_ONEDIR_REV"
|
||||
elif [ "$ITYPE" = "onedir" ]; then
|
||||
local ver="${ONEDIR_REV##*/}"
|
||||
fi
|
||||
|
||||
if [ ! -z $ver ]; then
|
||||
cloud+="-$ver"
|
||||
|
||||
Reference in New Issue
Block a user