How to force Anaconda to prompt for the hostname during installation of Red Hat Enterprise Linux using Kickstart file?

Solution Verified - Updated -

Issue

  • By default Anaconda does not ask for a hostname. It will use the one that is set in the kickstart file or else will fail.
  • How to force Anaconda to prompt for the hostname, so that the kickstart file can be used for multiple machines?

Environment

  • Red Hat Enterprise Linux 6
  • 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