mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Identify OS from /etc/os-release to avoid stumbling on Mint directory /etc/upstream-release (same as scripts/local_facts.fact)
This commit is contained in:
parent
105bbdc0b9
commit
f4b0adc1d6
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ INVENTORY=ansible_hosts
|
|||
IIAB_STATE_FILE=/etc/iiab/iiab_state.yml
|
||||
ARGS=""
|
||||
CWD=`pwd`
|
||||
OS=`grep ^ID= /etc/*release|cut -d= -f2`
|
||||
OS=`grep ^ID= /etc/os-release | cut -d= -f2`
|
||||
OS=${OS//\"/}
|
||||
MIN_RPI_KERN=4.19.97 # If using Raspbian, 'rpi-update' should no longer be nec -- please use Raspbian 2020-02-13 or higher: https://github.com/iiab/iiab/issues/1993
|
||||
MIN_ANSIBLE_VER=2.8.11 # Ansible 2.8.3 and 2.8.6 have serious bugs, preventing their use with IIAB.
|
||||
|
|
Loading…
Reference in a new issue