summaryrefslogtreecommitdiffstats
path: root/compass-deck/misc/ci/pxe-deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compass-deck/misc/ci/pxe-deploy.sh')
-rwxr-xr-xcompass-deck/misc/ci/pxe-deploy.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/compass-deck/misc/ci/pxe-deploy.sh b/compass-deck/misc/ci/pxe-deploy.sh
new file mode 100755
index 0000000..545c95a
--- /dev/null
+++ b/compass-deck/misc/ci/pxe-deploy.sh
@@ -0,0 +1,14 @@
+#!/bin/bash -xe
+ln -s /var/log/cobbler/anamon cobbler_logs
+ln -s /var/log/compass compass_logs
+ln -s /var/log/chef chef_logs
+cp compass-core/compass/apiclient/example.py /tmp/test.py
+chmod +x /tmp/test.py
+virsh destroy pxe01
+virsh start pxe01
+virsh list
+source compass-core/install/install.conf.template
+/usr/bin/python /tmp/test.py
+if [ "$tempest" == "true" ]; then
+ ./tempest_run.sh
+fi