Server installation using kickstart on the network
Environment
- Red Hat Enterprise Linux (RHEL) 7
Issue
Our kickstart
is not present on the installation media, but on the network in central storage.
How to set the initial network configuration on the kernel
command line?
Resolution
Get the iso
DVD
installation image name:
# mount -o loop /rhel/RHEL-7.7-20190723.1-Client-x86_64-dvd1.iso /media/
# lsblk -nPo MOUNTPOINT,LABEL
...
MOUNTPOINT="/media" LABEL="RHEL-7.7 Client.x86_64"
...
or
# blkid
...
/dev/sr0: UUID="XXXX-XX-XX-XX-XX-XX-XX" LABEL="RHEL-7.7 Server.x86_64" TYPE="iso9660" PTTYPE="dos"
Use the following kernel
parameters (Network Interface Configuration Formats) for installation, replace spaces with \x20:
boot: linux append initrd=initrd.img ip=xx.xx.xx.xx::xx.xx.xx.yy:255.255.255.0:machine_name:ens192:none inst.stage2=hd:LABEL=RHEL-7.5\x20Server.x86_64 inst.ks=http://xx.xx.xx.zz/ks08.cfg
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments