EDITOR environment variable is not set while editing cluster cib file using pcs command

Solution Verified - Updated -

Issue

[root@node1 ~]# pcs cluster edit

prompts us with an error

Error: $EDITOR environment variable is not set

Environment

  • Red Hat Enterprise Linux (RHEL)7, 8 with High Availability and Resilient Storage Add-On
  • pcs version 0.10.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content