You must set your EDITOR environment variable or configure your editor

rajeshkumar created the topic: You must set your EDITOR environment variable or configure your editor

Error

knife node edit firefox
ERROR: You must set your EDITOR environment variable or configure your editor via knife.rb

Solution:

export EDITOR=$(which vi)
To persist this, add it to ~/.bashrc or ~/.bash_profile.
or
knife[:editor] = "vi" in knife.rb

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x