The hostname is incorrectly set when using ip=... kernel command line parameter

Solution Unverified - Updated -

Issue

  • Kickstarting a RHEL7.4 host with only a IPv6 address and specifying the ip address information using the "ip=..." kernel parameter, the hostname is not set correctly
  • In stead of the name specified the hostname is set to the 5th element of the IPv6 address

Environment

  • Red Hat Enterprise Linux (RHEL) 7.3 and 7.4
  • dracut-033-502.el7.x86_64

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