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
Latest posts by scmgalaxy K (see all)
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018