hostname is not set upon the boot parameter hostname= with ip=dhcp for Red Hat Enterprise Linux7 installation

Solution Unverified - Updated -

Issue

  • I made a ipxe file that has the hostname for the server and pass it to the Satellite, but the server name ends up being localhost.
#!ipxe
#
echo Booting to Red Hat for ${hostname}
set boot-path ${17}/linux/rhel/7/isolinux
initrd ${boot-path}/initrd-7.img ||
chain ${boot-path}/vmlinuz-7 ip=dhcp ks=http://satellite-server/ks/cfg/org/1/label/rhel7-ks.cfg hostname=testmachine100

Environment

Red Hat Satelite 5.4
Red Hat Enterprise Linux 7 installation

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