How to set hostname using hostnamectl during kickstart in Red Hat Enterprise Linux?
Issue
- How to set hostname using
hostnamectl
duringkickstart
in Red Hat Enterprise Linux? hostnamectl
not being honoured duringkickstart
- What is the best method of insuring the server
hostname
is 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.