Error when using the command "onedb update-body ..."

version opennebula 5.8.1-1 and 5.6.0

root@onenode-2:~# onedb update-body vm --id 55
Editor not defined

Why can’t I run “onedb update-body vm” command?

You have no environment variable EDITOR. For example, to use vi as editor you should do the following:

export EDITOR=vi
onedb update-body vm --id 55

Don’t forget to save before exiting the editor :wink:

Best Regards,
Anton Todorov

thank you very much