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
Latest posts by Rajesh Kumar (see all)
- Apache Lucene Query Example - April 8, 2024
- Google Cloud: Step by Step Tutorials for setting up Multi-cluster Ingress (MCI) - April 7, 2024
- What is Multi-cluster Ingress (MCI) - April 7, 2024