1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

local_facts.fact: bash was failing on comments in case statement

This commit is contained in:
A Holt 2020-09-02 14:39:19 -04:00 committed by GitHub
parent 6451c98031
commit 5db1c4a668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,21 +21,23 @@ OS_VER=$OS-$VERSION_ID
DHCPCD_PATH=`which dhcpcd`
NM_PATH=`which NetworkManager`
case $OS_VER in
# Previously supported Linux distributions / versions:
#"fedora-18" | \
#"fedora-22" | \
#"debian-8" | \
#"debian-9" | \
"debian-10" | \
#"ubuntu-16" | \
#"ubuntu-17" | \
#"ubuntu-18" | \
#"ubuntu-19" | \
"ubuntu-20" | \
"linuxmint-20" | \
#"centos-7" | \
#"raspbian-8" | \
#"raspbian-9" | \
case $OS_VER in
"debian-10" | \
"ubuntu-20" | \
"linuxmint-20" | \
"raspbian-10")
;;
*) OS_VER="OS_not_supported"