On Mon, Feb 27, 2012 at 04:56:01PM +0200, Feniks Gordon Freeman wrote: > Hi, libvirt developers > > I found very interesting libvirt and i wrote patch for BZ#732264 > I added support for parsing ~/.virsh/rc file. > rc file in format KEY = VALUE > symbol '#' - comment > Now, only one value added for parsing - VIRSH_DEFAULT_CONNECT_URI. > This value can be overwrite by env variable VIRSH_DEFAULT_CONNECT_URI. Hmm, I didn't know we had a VIRSH_DEFAULT_CONNECT_URI - we also have LIBVIRT_DEFAULT_CONNECT_URI, which applies to any libvirt app. We also already have a $HOME/.libvirt/libvirt.conf for configuring client apps. I think it'd be better to extend that existing config file so the defaults affect all apsp (eg virt-top, virt-install, etc) - chances are if you want to change one, you want to change them all. And to deprecate usage of VIRSH_DEFAULT_CONNECT_URI too while we're at it. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list