Update xo_install.sh

Further testing / cleanup
This commit is contained in:
Dustin B 2018-04-25 14:52:43 -04:00 committed by GitHub
parent 172bc49bb0
commit 9b2841219f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,22 +61,18 @@ WantedBy=multi-user.target
EOF EOF
fi fi
# Horrible fix for Node v10
#cd /opt/xen-orchestra
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
#sudo n 8
#sudo apt-get install -y nodejs
#sudo yarn
#sudo yarn build
sudo /bin/chmod +x $systemd_service_dir/$xo_service sudo /bin/chmod +x $systemd_service_dir/$xo_service
sudo /bin/systemctl enable $xo_service sudo /bin/systemctl enable $xo_service
sudo /bin/systemctl start $xo_service sudo /bin/systemctl start $xo_service
# Horrible fix for Node v10
cd /opt/xen-orchestra
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo n 8
sudo apt-get install -y nodejs
sudo yarn
sudo yarn build
echo "" echo ""
echo "" echo ""
echo "Installation complete, open a browser to:" && hostname -I && echo "" && echo "Default Login:"admin@admin.net" Password:"admin"" && echo "" && echo "Don't forget to change your password!" echo "Installation complete, open a browser to:" && hostname -I && echo "" && echo "Default Login:"admin@admin.net" Password:"admin"" && echo "" && echo "Don't forget to change your password!"