From d06d4550de42a24023f8d2cc63e2d94a0c476eee Mon Sep 17 00:00:00 2001 From: Bob Ball Date: Thu, 15 May 2014 21:12:50 +0100 Subject: [PATCH] XenAPI: Fix final script to include functions Generally a ubuntu template is supplied - but in the case where it is not, we need to source functions before sourcing stackrc (Through xenrc) Change-Id: I8325cf1c6f83946b7798e6d1bb8278e86831d3c4 --- tools/xen/scripts/install_ubuntu_template.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/xen/scripts/install_ubuntu_template.sh b/tools/xen/scripts/install_ubuntu_template.sh index d80ed095e8..d4d6567a40 100755 --- a/tools/xen/scripts/install_ubuntu_template.sh +++ b/tools/xen/scripts/install_ubuntu_template.sh @@ -14,6 +14,9 @@ set -o xtrace # This directory BASE_DIR=$(cd $(dirname "$0") && pwd) +# Source the top level functions +source $BASE_DIR/../../../functions + # For default setings see xenrc source $BASE_DIR/../xenrc