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 }