mal wieder ein commit

This commit is contained in:
2013-04-24 09:27:08 +02:00
parent 3917e799fb
commit 2220cfbd1e
4 changed files with 70 additions and 26 deletions

View File

@@ -1,12 +1,14 @@
#!/bin/bash
vmid=$1
python=$1
shift
manager=$1
shift
QEMU=$1
shift
vmid=$1
shift
date >> /tmp/cleanup
echo "Starting ${vmid}" >> /tmp/cleanup
/usr/bin/qemu-kvm $@
date >> /tmp/cleanup
echo "Cleaning up for ${vmid}" >> /tmp/cleanup
/root/tmp/manager.py cleanup $vmid
$QEMU $@
$python $manager cleanup $vmid