Update xo_install.sh

This commit is contained in:
Dustin B 2019-05-24 08:15:10 -04:00 committed by GitHub
parent 450ae2d80f
commit 6a065d7f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ xo_server_dir="/opt/xen-orchestra"
systemd_service_dir="/lib/systemd/system" systemd_service_dir="/lib/systemd/system"
xo_service="xo-server.service" xo_service="xo-server.service"
# Ensure that git and curl are installed # Ensures that Yarn dependencies are installed, git, curl, apt-transport-https
/usr/bin/apt-get update /usr/bin/apt-get update
/usr/bin/apt-get --yes install git curl /usr/bin/apt-get --yes install git curl apt-transport-https
#Install yarn #Install yarn
cd /opt cd /opt
@ -44,7 +44,7 @@ n 8.16
ln -s /usr/bin/node /usr/local/bin/node ln -s /usr/bin/node /usr/local/bin/node
# Install XO dependencies # Install XO dependencies
/usr/bin/apt-get install --yes build-essential redis-server libpng-dev git python-minimal libvhdi-utils nfs-common lvm2 cifs-utils apt-transport-https /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git python-minimal libvhdi-utils nfs-common lvm2 cifs-utils
/usr/bin/git clone -b $xo_branch $xo_server /usr/bin/git clone -b $xo_branch $xo_server