How can the hostname be configured persistently in Red Hat Enterprise Linux 7?

Solution Unverified - Updated -

Issue

  • How can the hostname be configured persistently in Red Hat Enterprise Linux 7? Writing to /etc/sysconfig/network does not work, as it did in Red Hat Enterprise Linux 6 and below.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In