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@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users
0xAD7427D8.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users