attempt to avoid remote qemus from hanging
[tests.git] / system / template-qemu / kill-qemu-node
index 27a2317..0ac501e 100755 (executable)
@@ -17,7 +17,7 @@ function list_pids () {
     if [[ -n "$hostnames" ]] ; then
        for hostname in $hostnames; do
            nodedir=qemu-$hostname
-           cat $nodedir/qemu.pid $nodedir/shell.pid 2> /dev/null
+           cat $nodedir/qemu.pid 2> /dev/null
        done
     else
        pgrep qemu
@@ -40,7 +40,6 @@ function kill_pids () {
        for hostname in $hostnames; do
            nodedir=qemu-$hostname
            kill_from_file $nodedir/qemu.pid
-           kill_from_file $nodedir/shell.pid
        done
     else
        echo Killing all processes mathing qemu