Update xo_install.sh

This commit is contained in:
bnrstnr 2018-06-12 14:08:45 -04:00 committed by GitHub
parent 9f2220b36b
commit 23306312bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,7 @@
#Check for 1GB Memory #Check for 1GB Memory
totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo) totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)
if [ $totalk < "1000000" ]; then if [ "$totalk" -lt "1000000" ]; then echo "XOCE Requires at least 1GB Memory!"; exit 1; fi
echo "XOCE Requires at least 1GB Memory!"
fi
xo_branch="master" xo_branch="master"
xo_server="https://github.com/vatesfr/xen-orchestra" xo_server="https://github.com/vatesfr/xen-orchestra"