projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e9ed39ca3c72789f40c4289f7589bf22f0c49301
[mirror/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