Commit 99e16acc authored by Rafael Monnerat's avatar Rafael Monnerat

Fix setup on chrome

parent 1846a4b8
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE={{ playbook_yml }} ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE={{ playbook_yml }}
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -28,6 +28,11 @@ function download_playbook { ...@@ -28,6 +28,11 @@ function download_playbook {
# and ``DISTRO`` # and ``DISTRO``
GetDistro GetDistro
if [[ ${DISTRO} =~ (-.) ]] && [[ -f /etc/debian_version ]]; then
apt_get install lsb-release
GetDistro
fi
# Warn users who aren't on an explicitly supported distro, but allow them to # Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``export FORCE=yes`` # override check and attempt installation with ``export FORCE=yes``
if [[ ! ${DISTRO} =~ (wheezy|jessie|trusty|rhel7) ]]; then if [[ ! ${DISTRO} =~ (wheezy|jessie|trusty|rhel7) ]]; then
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=gnet-re6stnet.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=gnet-re6stnet.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=gnet-server.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=gnet-server.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-re6stnet.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-re6stnet.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-server.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-server.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-server-update.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-server-update.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-vm-bootstrap.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-vm-bootstrap.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-vm-cloudera-manager.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=imt-vm-cloudera-manager.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=re6stnet.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=re6stnet.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=slapos.yml ...@@ -5,7 +5,7 @@ PLAYBOOK_FILE=slapos.yml
#### Setup Ansible and load few libraries ##### #### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment