summaryrefslogtreecommitdiff
path: root/extra/qemu-kvm/qemu-kvm.install
blob: 5161df93a5c10bb07ce963745b82bcdb86661e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}