[lxc-users] Snap 2.20 - Default Text Editor

Benjamin Asbach lxd at impl.it
Fri Nov 24 07:18:05 UTC 2017


Can you check if you VISUAL environment variable is set to vi? 

Here's the relevant code for opening the text editor in lxd:
https://github.com/lxc/lxd/blob/70ce5ff10417133417fdfd611a7ec148e4590a44/shared/util.go#L596


Benjamin 

On 2017-11-22 01:45, Lai Wei-Hwa wrote:

> $ lxc profile edit default 
> Opens in VI even though my editor is nano (save the flaming) 
> 
> How can we edit the default editor? 
> 
> Best Regards, 
> 
> LAI WEI-HWA 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171124/0cd1be1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xAD7427D8.asc
Type: application/pgp-keys
Size: 3061 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171124/0cd1be1d/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171124/0cd1be1d/attachment.sig>


More information about the lxc-users mailing list