summaryrefslogtreecommitdiff
path: root/sysutils/salt/files/patch-kvm_hyper.py
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/salt/files/patch-kvm_hyper.py')
-rw-r--r--sysutils/salt/files/patch-kvm_hyper.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/salt/files/patch-kvm_hyper.py b/sysutils/salt/files/patch-kvm_hyper.py
new file mode 100644
index 000000000000..5401aa617fea
--- /dev/null
+++ b/sysutils/salt/files/patch-kvm_hyper.py
@@ -0,0 +1,11 @@
+--- salt-0.9.8/kvm_hyper.py 2012-03-22 10:57:13.019199302 -0600
++++ salt/modules/kvm_hyper.py 2012-03-22 10:57:45.441204588 -0600
+@@ -46,6 +46,8 @@
+ return False
+ if __grains__['virtual'] != 'physical':
+ return False
++ if __grains__['kernel'] != 'Linux':
++ return False
+ if 'kvm_' not in open('/proc/modules').read():
+ return False
+ if not has_libvirt: