Improving test vm data collection

Collecting xml file with the vm data.

Change-Id: I2ba245a5ff545a23c6c5e943412e133357207feb
This commit is contained in:
Riccardo Pittau 2019-04-05 16:33:46 +02:00
parent 9a086306e6
commit c7547ae68d
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ fi
sudo vbmc list &> ${LOG_LOCATION}/vbmc.txt
sudo virsh list --all &> ${LOG_LOCATION}/virsh-list.txt
TEST_VM=$(sudo virsh list --all --name | head -1)
sudo virsh dumpxml ${TEST_VM} > ${LOG_LOCATION}/${TEST_VM}_dump.xml
ps auxf &> ${LOG_LOCATION}/ps.txt
sudo chown -R $USER ${LOG_LOCATION}