mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge branch 'develop' into adding_more_systems
This commit is contained in:
commit
bfa9bcf5b0
1 changed files with 6 additions and 0 deletions
|
@ -1829,6 +1829,12 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
# Red Hat variants after 9.x not supported by stable type
|
||||
if [ "$(echo "${DISTRO_NAME_L}" | grep -E '(centos|red_hat|scientific|almalinux|rocky)')" != "" ] && [ "$ITYPE" = "stable" ] && [ "$DISTRO_MAJOR_VERSION" -ge 9 ]; then
|
||||
echoerror "${DISTRO_NAME} ${DISTRO_VERSION} not supported by stable type, use type onedir."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# For Ubuntu derivatives, pretend to be their Ubuntu base version
|
||||
__ubuntu_derivatives_translation
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue