From 4c4f241f0c71646e8b44d538233826d32303cfc7 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 23 Nov 2013 16:05:41 +0100 Subject: libraries/libvirt: Cleanups, added a note about netcat-openbsd. Signed-off-by: Matteo Bernardini --- libraries/libvirt/README | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'libraries/libvirt/README') diff --git a/libraries/libvirt/README b/libraries/libvirt/README index ae63f423ca..0e977953e8 100644 --- a/libraries/libvirt/README +++ b/libraries/libvirt/README @@ -3,7 +3,7 @@ libvirt - The virtualization API libvirt is a toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). -Most dependencies are autodetected and having the required +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: @@ -12,9 +12,19 @@ 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 + # 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). -- cgit v1.2.3