[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [sandbox PATCH 5/5] virt-sandbox needs to mention LIBVIRT_DEFAULT_URI environment variable.



Since lots of people want to try out LXC with virt-sandbox, executing
-c lxc:/// is a pain, but users might not know about the varible or the
config file.
---
 bin/virt-sandbox.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
index c21a8a6..ae303d2 100644
--- a/bin/virt-sandbox.c
+++ b/bin/virt-sandbox.c
@@ -283,7 +283,10 @@ not allowed to open any other files.
 =item B<-c URI>, B<--connect=URI>
 
 Set the libvirt connection URI, defaults to qemu:///session if
-omitted. Currently only the QEMU and LXC drivers are supported.
+omitted. Alternatively the C<LIBVIRT_DEFAULT_URI> environment
+variable can be set, or the config file C</etc/libvirt/libvirt.conf>
+can have a default URI set.  Currently only the QEMU and LXC drivers
+are supported.
 
 =item B<-n NAME>, B<--name=NAME>
 
-- 
1.8.3.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]