diff --git a/salt/salt/scripts/bootstrap-salt.sh b/salt/salt/scripts/bootstrap-salt.sh index 464243c84..d422a5295 100644 --- a/salt/salt/scripts/bootstrap-salt.sh +++ b/salt/salt/scripts/bootstrap-salt.sh @@ -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"