From 703ec751906271e135954ef0dc70e2c645461edc Mon Sep 17 00:00:00 2001 From: bnrstnr Date: Thu, 2 Aug 2018 08:51:30 -0400 Subject: [PATCH] Update xo_install.sh --- xo_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xo_install.sh b/xo_install.sh index 1b56ba0..42b7667 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -7,6 +7,9 @@ totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo) if [ "$totalk" -lt "1000000" ]; then echo "XOCE Requires at least 1GB Memory!"; exit 1; fi +distro=$(/usr/bin/lsb_release -is) +if [ "distro" = "Ubuntu" ]; then /usr/bin/add-apt-repository multiverse; fi + xo_branch="master" xo_server="https://github.com/vatesfr/xen-orchestra" n_repo="https://raw.githubusercontent.com/visionmedia/n/master/bin/n"