summaryrefslogtreecommitdiff
path: root/staging/qemu-kvm/qemu-kvm.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
committerroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
commit902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (patch)
tree7daed2a9811a9c58333dafddaa471222520022b0 /staging/qemu-kvm/qemu-kvm.install
parent39711f3264d3b9de2ff6392649274d6333932457 (diff)
Mon Jan 30 23:15:08 UTC 2012
Diffstat (limited to 'staging/qemu-kvm/qemu-kvm.install')
-rw-r--r--staging/qemu-kvm/qemu-kvm.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/staging/qemu-kvm/qemu-kvm.install b/staging/qemu-kvm/qemu-kvm.install
new file mode 100644
index 000000000..84aa773b9
--- /dev/null
+++ b/staging/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
+}