Re: [PATCH v2] Allow overriding default URI in config file

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

 



On 03/14/2012 07:45 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Currently if the URI passed to virConnectOpen* is NULL, then we
> 
>  - Look for LIBVIRT_DEFAULT_URI env var
>  - Probe for drivers
> 
> This changes it so that
> 
>  - Look for LIBVIRT_DEFAULT_URI env var
>  - Look for 'uri_default' in $HOME/.libvirt/libvirt.conf
>  - Probe for drivers
> ---

> +++ b/tools/virsh.pod
> @@ -2632,7 +2632,9 @@ The file to log virsh debug messages.
>  =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.
> +format as accepted by the B<connect> option. This environment variable
> +is deprecated in favour of the global B<LIVIRT_DEFAULT_URI> variable

s/LIVIRT/LIBVIRT/

It may be worth also adding an explicit:

=item LIBVIRT_DEFAULT_URI

ACK with virsh.pod fixed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]