summaryrefslogtreecommitdiffstats
path: root/xci/scripts/vm
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-10-02 09:09:18 +0100
committerMarkos Chandras <mchandras@suse.de>2017-10-02 09:09:18 +0100
commit2e84f1f7b30ed9e3fd6a8cfda1882250d59b4f04 (patch)
tree1e817b076c796ab6cebede0c46d3dd76169c217c /xci/scripts/vm
parent28436eaa0771bd9fb290814960c7b74b2d928696 (diff)
xci: scripts: start-new-vm.sh: Fix default test case
Export XCI_FLAVOR to mini to minic the CI. Moreover, fix the script to not use relative paths. Change-Id: I16947c596b8bbff20371b6d345dffd215f76aecc Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/scripts/vm')
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index 65133edc..45ece743 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -198,7 +198,8 @@ if [[ $? != 0 ]]; then
echo "Creating a default test case to run xci-deploy.sh"
cat > ${BASE_PATH}/run_jenkins_test.sh <<EOF
#!/bin/bash
-cd releng-xci/xci
+export XCI_FLAVOR=mini
+cd ~/releng-xci/xci
./xci-deploy.sh
EOF
# Copy again