summaryrefslogtreecommitdiffstats
path: root/fuel/ci/deploy.sh
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-04-07 10:29:42 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-04-13 22:32:15 +0200
commit29d8730686b539af7252e54f10b1bf19be3423e5 (patch)
tree707bca52a2389189393fdb4d93917118c833c7d8 /fuel/ci/deploy.sh
parent5ce8b661ea230f0823ebdfcbee19a2b1cf60ae32 (diff)
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 <szilard.cserey@ericsson.com>
Diffstat (limited to 'fuel/ci/deploy.sh')
-rwxr-xr-xfuel/ci/deploy.sh13
1 files changed, 11 insertions, 2 deletions
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