Update xo_install.sh

more fixes to paths
This commit is contained in:
Jarli01
2018-02-07 10:27:50 -05:00
committed by GitHub
parent b7887a36cb
commit e94425813b

View File

@@ -33,7 +33,11 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git
# Patch to allow config restore
sed -i 's/< 5/> 0/g' /opt/xen-orchestra/xo-web/dist/src/xo-app/settings/config/index.js
cd /opt/xen-orchestra/packages/xo-server
cd $xo_server_dir
/usr/bin/yarn
/usr/bin/yarn build
cd packages/xo-server
sudo cp sample.config.yaml .xo-server.yaml
sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xen-orchestra/packages/xo-web/dist'|" .xo-server.yaml