Skip to content

Commit 05b840f

Browse files
committed
Merge branch 'develop' of github.com:saltstack/salt-bootstrap into stable
2 parents 723fd61 + 6ae881a commit 05b840f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bootstrap-salt.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -987,11 +987,12 @@ __debian_derivatives_translation() {
987987
# If the file does not exist, return
988988
[ ! -f /etc/os-release ] && return
989989

990-
DEBIAN_DERIVATIVES="(kali)"
990+
DEBIAN_DERIVATIVES="(kali|linuxmint)"
991991
# Mappings
992992
kali_1_debian_base="7.0"
993+
linuxmint_1_debian_base="8.0"
993994

994-
# Detect derivates, Kali *only* for now
995+
# Detect derivates, Kali and LinuxMint *only* for now
995996
rv=$(grep ^ID= /etc/os-release | sed -e 's/.*=//')
996997

997998
# Translate Debian derivatives to their base Debian version
@@ -1003,6 +1004,10 @@ __debian_derivatives_translation() {
10031004
_major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g')
10041005
_debian_derivative="kali"
10051006
;;
1007+
linuxmint)
1008+
_major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g')
1009+
_debian_derivative="linuxmint"
1010+
;;
10061011
esac
10071012

10081013
_debian_version=$(eval echo "\$${_debian_derivative}_${_major}_debian_base")
@@ -2921,11 +2926,6 @@ install_red_hat_linux_git_deps() {
29212926
return 0
29222927
}
29232928

2924-
install_red_hat_enterprise_linux_7_stable_deps() {
2925-
echoerror "Stable version is not available on RHEL 7 Beta/RC. Please set installation type to git."
2926-
return 1
2927-
}
2928-
29292929
install_red_hat_enterprise_linux_stable_deps() {
29302930
install_red_hat_linux_stable_deps || return 1
29312931
return 0

0 commit comments

Comments
 (0)