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.install16
1 files changed, 16 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..84aa773b9
--- /dev/null
+++ b/testing/qemu-kvm/qemu-kvm.install
@@ -0,0 +1,16 @@
+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 ">>> Use 'qemu-kvm -enable-kvm' to use KVM."
+ echo ""
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ groupdel kvm
+}