
25 Oct
2007
25 Oct
'07
8:32 p.m.
The attached file provides tab completion for virsh. To use them, just source the file in bash; after that, typing 'virsh <TAB>' should do something sensible (if you are on KVM, you also need to have VIRSH_DEFAULT_CONNECT_URI set, otherwise virsh will complain when trying to gather various info during completion. Could this be added to the libvirt CVS in some appropriate place ? The RPM should probably install it in /etc/bash_completion.d/ David