X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Ftemplate-qemu%2Fkill-qemu-node;h=0ac501e7412b9f2821bb4c3baf85cfdc7cf1a363;hb=a43a4ea41bab658552029e8efc2c594eb623d25b;hp=27a2317650ac8c5e9fc0e800d35093d4adc7fd47;hpb=3babd9641bc6965509e559c8f7834023d51947fe;p=tests.git diff --git a/system/template-qemu/kill-qemu-node b/system/template-qemu/kill-qemu-node index 27a2317..0ac501e 100755 --- a/system/template-qemu/kill-qemu-node +++ b/system/template-qemu/kill-qemu-node @@ -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