summaryrefslogtreecommitdiff
path: root/testing/qemu-kvm/qemu-kvm.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/qemu-kvm/qemu-kvm.install')
-rw-r--r--testing/qemu-kvm/qemu-kvm.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/qemu-kvm/qemu-kvm.install b/testing/qemu-kvm/qemu-kvm.install
new file mode 100644
index 000000000..5161df93a
--- /dev/null
+++ b/testing/qemu-kvm/qemu-kvm.install
@@ -0,0 +1,15 @@
+post_install() {
+ groupadd kvm -f -g 78
+ echo ">>> PLEASE READ FOR KVM USAGE!"
+ echo ">>> Load the correct KVM module, you will need a KVM capable CPU!"
+ echo ">>> Add yourself to the group 'kvm'."
+ echo ""
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ groupdel kvm
+}