xci: scripts: start-new-vm.sh: Fix default test case 19/43819/1
authorMarkos Chandras <mchandras@suse.de>
Mon, 2 Oct 2017 08:09:18 +0000 (09:09 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 2 Oct 2017 08:09:18 +0000 (09:09 +0100)
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>
xci/scripts/vm/start-new-vm.sh

index 65133ed..45ece74 100755 (executable)
@@ -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