mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +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 master='salt-master'
|
||||||
local minion='salt-minion'
|
local minion='salt-minion'
|
||||||
local syndic='salt-syndic'
|
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
|
if [ ! -z $ver ]; then
|
||||||
cloud+="-$ver"
|
cloud+="-$ver"
|
||||||
|
|||||||
Reference in New Issue
Block a user