Re: Permanently change default virsh editor

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

 



On 06.07.2016 21:27, J Travis Lindsey wrote:
> Hello, I found in the docs that I can change the editor I use on a per vm
> bases with the following:
> *EDITOR=$your-favorite-editor virsh edit $your-vm-name*
> 
> But how do I change it permanently so when I run:
> *virsh edit $your-vm-name*
> 
> It defaults to my favorite editor (vim)?

This is distribution dependent. For instance, I'm unaware of any
system-wide approach in Fedora (except for what Cole suggested, which
will work everywhere). But for instance in gentoo you can:

# eselect editor set vi

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux