aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew James Goins <mjg2203@columbia.edu>2014-11-03 11:44:10 -0500
committerMatthew James Goins <mjg2203@columbia.edu>2014-11-03 11:44:10 -0500
commit86cac3b3cfc5519417b6cd2ab944b66ee154dffd (patch)
treecde2de5f16a577637e63669d5670f37f3bdfc761
parent8ea8084b0e15fe0f953e29b9a8ce00f3f4801ae9 (diff)
downloadkvm-manager-86cac3b3cfc5519417b6cd2ab944b66ee154dffd.tar.gz
kvm-manager-86cac3b3cfc5519417b6cd2ab944b66ee154dffd.tar.bz2
Change udevadm invocation to match correct usage
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index 8cbd974..a8c7f9d 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -60,7 +60,7 @@ up() {
udevadm trigger --subsystem-match=block --attr-match=dm/name="$mappername"
fi
done
- udevadm trigger /dev/kvm
+ udevadm trigger --sysname-match=kvm
# older versions need to have at least the first disk marked as boot=on or they cannot boot.
if kvm --version 2>/dev/null | sed 's/.*version \([0-9.]*\).*/\1/' | grep -q '^0' ; then