. lib/lsb/init-functions
log_warning_msg "${WARNING}

libvirt is only fully operationnal on systemd system.
Please use systemd as init system if you want to use libvirt

${NORMAL}"

UN=kvm
if ! (getent group $UN > /dev/null); then
        log_info_msg "${INFO}Creating $UN group${NORMAL}\n"
        groupadd -g 61 $UN
fi

log_warning_msg "${WARNING}

Your account need to be part of the 'kvm' group
to be able to use virtualisation:

  gpasswd -a <username> $UN

${NORMAL}"
