slackbuilds_ponce/libraries/libvirt
Robby Workman ba6b0592db libraries/libvirt: Make rc.libvirt more robust
Detecting running domains by grepping for "running" isn't very
effective for non-english strings, so let's fix that.
Since I was already there, I cleaned up a few more nits.
Thanks to Mathieu Bouillaguet for the report and solution.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2014-12-25 02:10:29 -06:00
..
doinst.sh
libvirt.info
libvirt.SlackBuild libraries/libvirt: Make rc.libvirt more robust 2014-12-25 02:10:29 -06:00
rc.libvirt libraries/libvirt: Make rc.libvirt more robust 2014-12-25 02:10:29 -06:00
README
slack-desc

libvirt - The virtualization API

libvirt is a toolkit to interact with the virtualization
capabilities of recent versions of Linux (and other OSes).

Most optional dependencies are autodetected and having the required
libs in place will build the respective features automatically.

The group can be specified at build time like this:
VIRTGROUP=somegroup ./libvirt.SlackBuild (default: users)

If you want to start the libvirt daemon at boot, add this
to /etc/rc.d/rc.local

  # Start libvirt:
  if [ -x /etc/rc.d/rc.libvirt ]; then
    /etc/rc.d/rc.libvirt start
  fi
and if you want it to stop at shutdown add this to
/etc/rc.d/rc.local_shutdown

  # Stop libvirt:
  if [ -x /etc/rc.d/rc.libvirt ]; then
    /etc/rc.d/rc.libvirt stop
  fi

Have a look at the commented part of rc.libvirt for some gotchas.

netcat-openbsd is an optional dependency (needed if you want
to connect from a remote host using virt-manager).  Other optional
dependencies include avahi, libcap-ng, libssh2, and xen.