]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* docs/virsh.pod virsh.1: update to document VIRSH_DEFAULT_CONNECT_URI
authorDaniel Veillard <veillard@redhat.com>
Mon, 23 Jul 2007 09:35:59 +0000 (09:35 +0000)
committerDaniel Veillard <veillard@redhat.com>
Mon, 23 Jul 2007 09:35:59 +0000 (09:35 +0000)
  environment variable as suggested by David Lutterkort
Daniel

ChangeLog
docs/virsh.pod
virsh.1

index 0e7cfc41e018f7f8713eab9cf14c8000b8732372..829821ac534235713d50ca54cdb8da114b01d691 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 23 11:36:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
+
+       * docs/virsh.pod virsh.1: update to document VIRSH_DEFAULT_CONNECT_URI
+         environment variable as suggested by David Lutterkort
+
 Fri Jul 20 12:53:35 CEST 2007 Daniel Veillard <veillard@redhat.com>
 
        * src/xen_internal.c: and nother one again from Saori Fukuta
index 9e6abc29528442373f55d9d8f82674804de72cb4..d23d7e333f5208cfbeff22c3f787a0a0e2333d28 100644 (file)
@@ -450,6 +450,17 @@ Convert a network name to network UUID.
 
 =back
 
+=head1 ENVIRONMENT
+
+=over 4
+
+=item VIRSH_DEFAULT_CONNECT_URI
+
+The hypervisor to connect to by default. Set this to a URI, in the same
+format as accepted by the B<connect> option.
+
+=back
+
 =head1 SEE ALSO
 
 L<xm(1)>, L<xmdomain.cfg(5)>, L<xentop(1)> , L<http://www.libvirt.org/>
diff --git a/virsh.1 b/virsh.1
index 83e7d3c76a96591d147a8297379c3e7770b94d77..93739acd99f96246fc2e0e37f70a23d24dcff41d 100644 (file)
--- a/virsh.1
+++ b/virsh.1
 .\" ========================================================================
 .\"
 .IX Title "VIRSH 1"
-.TH VIRSH 1 "2007-06-21" "perl v5.8.8" "Virtualization Support"
+.TH VIRSH 1 "2007-07-23" "perl v5.8.8" "Virtualization Support"
 .SH "NAME"
 virsh \- management user interface
 .SH "SYNOPSIS"
@@ -212,7 +212,7 @@ Running hypervisor: Xen 3.0.0
 (Re)\-Connect to the hypervisor. This is a build-in command after shell
 start up, and usually get an \fI\s-1URI\s0\fR parameter specifying how to connect
 to the hypervisor. The documentation page at <http://libvirt.org/uri.html>
-list the values supported but the most commons are:
+list the values supported but the most common are:
 .RS 4
 .IP "xen:///" 4
 .IX Item "xen:///"
@@ -239,7 +239,7 @@ Print an \s-1XML\s0 document describing the capabilities of the hypervisor
 we are currently connected to. This includes a section on the host
 capabilities in terms of \s-1CPU\s0 and features, and a set of description
 for each kind of guest which can be virtualized. For a more complete
-description see the description at:
+description see:
   <http://libvirt.org/format.html#Capa1>
 .IP "\fBlist\fR" 4
 .IX Item "list"
@@ -267,7 +267,6 @@ Name is the name of the domain.  \s-1ID\s0 the domain numeric id.
 .Sp
 The State field lists 6 states for a Xen Domain, and which ones the
 current Domain is in.
-=back
 .RE
 .IP "\fBr \- running\fR" 4
 .IX Item "r - running"
@@ -513,6 +512,14 @@ Undefine the configuration for an inactive network.
 Convert a network name to network \s-1UUID\s0.
 .RE
 .RS 4
+.SH "ENVIRONMENT"
+.IX Header "ENVIRONMENT"
+.IP "\s-1VIRSH_DEFAULT_CONNECT_URI\s0" 4
+.IX Item "VIRSH_DEFAULT_CONNECT_URI"
+The hypervisor to connect to by default. Set this to a \s-1URI\s0, in the same
+format as accepted by the \fBconnect\fR option.
+.RE
+.RS 4
 .SH "SEE ALSO"
 .IX Header "SEE ALSO"
 \&\fIxm\fR\|(1), \fIxmdomain.cfg\fR\|(5), \fIxentop\fR\|(1) , <http://www.libvirt.org/>
@@ -534,5 +541,3 @@ Bugs can be view on the RedHat buzilla page under the libvirt
 <https://bugzilla.redhat.com/>
 .Sp
 <https://bugzilla.redhat.com/bugzilla/buglist.cgi?product=Fedora+Core&component=libvirt&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr>
-.Sp
-=