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

buster patch in local_facts

This commit is contained in:
George Hunt 2019-05-06 12:22:57 -07:00
parent 84220ddbb7
commit c90da038da

View file

@ -14,7 +14,12 @@ OS=${OS//\"/}
VERSION_ID=`grep VERSION_ID /etc/*elease | cut -d= -f2`
VERSION_ID=${VERSION_ID//\"/}
VERSION_ID=${VERSION_ID%%.*}
OS_VER=$OS-$VERSION_ID
grep PRETTY_NAME /etc/*ease|grep buster
if [ $? -eq 0 ];then
OS_VER=debian-10
else
OS_VER=$OS-$VERSION_ID
fi
DHCPCD_PATH=`which dhcpcd`
NM_PATH=`which NetworkManager`