4.5. Updating the Host Name


If required, change the host name of the target system before you deploy.

Procedure 4.2. Updating the Host Name

  1. Update the host name in the /etc/sysconfig/network file:
    NETWORKING=yes
    HOSTNAME=New_Hostname
    Copy to Clipboard Toggle word wrap
  2. Also update the host name using the hostname command:
    # hostname New_Hostnamehostname New_Hostname
    Copy to Clipboard Toggle word wrap
The above instructions set the host name locally, but not in DNS. For node hosts, this is used as the server identity. Generally it is best to use a name that matches how the host will resolve in DNS.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat