mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge pull request #1361 from jars99/develop
Fixed Amazon Linux 2 detection when lsb_release is installed
This commit is contained in:
commit
bd5ccac1ed
1 changed files with 1 additions and 1 deletions
|
@ -1001,7 +1001,7 @@ __gather_linux_system_info() {
|
|||
elif [ "${DISTRO_NAME}" = "OracleServer" ]; then
|
||||
# This the Oracle Linux Server 6.5
|
||||
DISTRO_NAME="Oracle Linux"
|
||||
elif [ "${DISTRO_NAME}" = "AmazonAMI" ]; then
|
||||
elif [ "${DISTRO_NAME}" = "AmazonAMI" ] || [ "${DISTRO_NAME}" = "Amazon" ]; then
|
||||
DISTRO_NAME="Amazon Linux AMI"
|
||||
elif [ "${DISTRO_NAME}" = "ManjaroLinux" ]; then
|
||||
DISTRO_NAME="Arch Linux"
|
||||
|
|
Loading…
Add table
Reference in a new issue