Description of problem: virsh seems to have no other way to specify the default connection it has to use other than by environment var VIRSH_DEFAULT_CONNECT_URI It would be great to be able to store this in a kind of ~/.virshrc file Version-Release number of selected component (if applicable): 0.7.2 How reproducible: All times This is obviously a wishlist.
*** Bug 732364 has been marked as a duplicate of this bug. ***
There is a possibility to setting the default connection (even without using an alias or shell wrapper function) in cat ~/.config/libvirt/libvirt.conf; that file has the same syntax as the system-wide config file /etc/libvirt/libvirt.conf, but sets it for the user only. Also applies to all connections, not just virsh. Example config file is the system-wide one, we cannot initialize example file for all users on the system during installation. Therefore I believe this bug is fixed.