From 29d8730686b539af7252e54f10b1bf19be3423e5 Mon Sep 17 00:00:00 2001 From: Szilard Cserey Date: Tue, 7 Apr 2015 10:29:42 +0200 Subject: Automatic Deployment - configure environment - configure initial settings - configure networking - hardware adapter for HP - fuel VM deployment JIRA: [BGS-2] Create Fuel deployment scrip Change-Id: If305477833c54547efe7e6ebfddafde0ab31ebd2 Signed-off-by: Szilard Cserey --- fuel/ci/deploy.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'fuel/ci/deploy.sh') diff --git a/fuel/ci/deploy.sh b/fuel/ci/deploy.sh index d11c65a..df23249 100755 --- a/fuel/ci/deploy.sh +++ b/fuel/ci/deploy.sh @@ -1,3 +1,12 @@ -# To be able to deploy on a certain metal environment there needs to be a Deployment Environment Adaptor executable" -# properly added to $PATH such that deploy.sh can call it by $dea [options] as indicated by ./deploy -h. +#!/bin/bash -x +set -o xtrace +set -o errexit +set -o nounset +set -o pipefail +WORKSPACE=$(readlink -e ..) +ISO_LOCATION="$(readlink -f $(find $WORKSPACE -iname 'fuel*iso' -type f))" +INTERFACE="fuel" + +cd "${WORKSPACE}/deploy" +./deploy_fuel.sh "$ISO_LOCATION" $INTERFACE 2>&1 | tee deploy_fuel.log -- cgit 1.2.3-korg