]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/debian-org/files/molly-guard/10-check-kvm
Apply Aurelien's nfs patch to the dsa-check-libs copy in puppet also
[dsa-puppet.git] / modules / debian-org / files / molly-guard / 10-check-kvm
1 #!/bin/sh
2
3 KVMCOUNT=`pgrep -cx '^(qemu-)?kvm$'`
4 if [ $KVMCOUNT != 0 ]; then
5         echo "Found $KVMCOUNT qemu-kvm instances running, aborting $MOLLYGUARD_CMD!"
6         exit 1
7 fi