Update xo_install.sh
This commit is contained in:
parent
450ae2d80f
commit
6a065d7f35
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue