How to set hostname using hostnamectl during kickstart in Red Hat Enterprise Linux?
Issue
- How to set hostname using
hostnamectlduringkickstartin Red Hat Enterprise Linux? hostnamectlnot being honoured duringkickstart- What is the best method of insuring the server
hostnameis configured during build?
Environment
- Red Hat Enterprise Linux 7,8,9
- systemd
- Anaconda
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.