Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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
[code language=”css”]
knife node edit firefox
ERROR: You must set your EDITOR environment variable or configure your editor via knife.rb

[/code]

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

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x