compass-core/misc/ci/pxe-deploy.sh
zhaoxinyu 885609ef39 Add tempest run scripts and prepare scripts
Also change some hardcoded network config to dynamic
Change-Id: I5dc1df89b32436a41cf7d7c46e30be879207b224
2014-04-03 23:59:01 +00:00

14 lines
361 B
Bash
Executable File

#!/bin/bash -xe
ln -s /var/log/cobbler/anamon cobbler_logs
ln -s /var/log/compass compass_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