How to set hostname to case sensitive in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • RHEL7 is not case sensitive when executing hostnamectl command, but RHEL8 requests confirmation of case sensitive issues.
  • Shell scripts executed normally in rhel7 have errors when executing rhel8.

Environment

  • Red Hat Enterprise Linux 7

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