mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
Support Non-LTS Ubuntu 21.04 & 21.10
Ubuntu 21.10 is out, adjust the script accordingly.
This commit is contained in:
parent
e7adfe409f
commit
fb8105c15e
1 changed files with 1 additions and 1 deletions
|
@ -2919,7 +2919,7 @@ __enable_universe_repository() {
|
|||
__install_saltstack_ubuntu_repository() {
|
||||
# Workaround for latest non-LTS Ubuntu
|
||||
if { [ "$DISTRO_MAJOR_VERSION" -eq 20 ] && [ "$DISTRO_MINOR_VERSION" -eq 10 ]; } || \
|
||||
{ [ "$DISTRO_MAJOR_VERSION" -eq 21 ] && [ "$DISTRO_MINOR_VERSION" -eq 04 ]; }; then
|
||||
[ "$DISTRO_MAJOR_VERSION" -eq 21 ]; then
|
||||
echowarn "Non-LTS Ubuntu detected, but stable packages requested. Trying packages for previous LTS release. You may experience problems."
|
||||
UBUNTU_VERSION=20.04
|
||||
UBUNTU_CODENAME="focal"
|
||||
|
|
Loading…
Add table
Reference in a new issue