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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.