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

Update iiab-install

This commit is contained in:
A Holt 2018-07-24 15:28:34 -04:00 committed by GitHub
parent 1152e8c71b
commit b27063afbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ MIN_RPI_KERN=4.9.59-v7+
MIN_ANSIBLE_VER=2.5.6
if [ ! -f /etc/iiab/local_vars.yml ]; then
echo -e "\nEXITING: /opt/iiab/iiab/iiab-install REQUIRES /etc/iiab/local_vars.yml\n" >&2
echo -e "(1) Please read http://wiki.iiab.io/local_vars.yml to learn more" >&2
echo -e "(2) MIN/MEDIUM/BIG samples are included in /opt/iiab/iiab/vars" >&2
@ -20,7 +21,7 @@ if [ ! -f /etc/iiab/local_vars.yml ]; then
echo -e ' http://download.iiab.io (click on "6.6" or a more recent version!)\n' >&2
if [ -f /opt/iiab/iiab/vars/local_vars.yml ]; then
echo -e "\nACTION REQUIRED: /opt/iiab/iiab/vars/local_vars.yml IS NO LONGER SUPPORTED.\n" >&2
echo -e "\nACTION NEEDED: YOUR /opt/iiab/iiab/vars/local_vars.yml IS NO LONGER SUPPORTED.\n" >&2
echo -e "To move it to the correct location, run:\n" >&2
echo -e " mv /opt/iiab/iiab/vars/local_vars.yml /etc/iiab/local_vars.yml" >&2
fi
@ -39,6 +40,8 @@ if [ ! -f /etc/iiab/local_vars.yml ]; then
exit 1
fi
# FUTURE: Test if their local_vars.yml is sufficiently version-compatible !
echo -e "\n\n./iiab-install $* BEGUN IN $CWD\n"
if [ ! -f /etc/ansible/facts.d/local_facts.fact ]; then