Configure CentOS 8 network install
Download image and extract files into some directory. I had to use separate machine, so I copied files to my ftp server (192.168.1.28).
mount -o loop /tmp/CentOS-8-x86_64-1905-boot.iso /mnt/iso scp -r * admin@192.168.1.28:/data/pub/CentOS-8.0.1905-boot umount /mnt/iso
On my tftp/ftp server:
mkdir /data/tftpboot/networkboot/CentOS8-1905 cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/vmlinuz \ /data/tftpboot/networkboot/CentOS8-1905/ cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/initrd.img \ /data/tftpboot/networkboot/CentOS8-1905/
Add entry to PXE configuration (in my case /data/tftpboot/pxelinux.cfg/default):
LABEL InstallCentOS-8.0.1905 MENU LABEL Install CentOS 8 1905 kernel /networkboot/CentOS8-1905/vmlinuz APPEND initrd=/networkboot/CentOS8-1905/initrd.img \ ip=dhcp \ inst.repo=ftp://192.168.1.28/CentOS-8.0.1905-boot
Source:
https://docs.centos.org/en-US/8-docs/advanced-install/assembly_preparing-for-a-network-install/
Kommentare
Bitte melden Sie sich Logan oder registrieren Sie sich um kommentieren zu können.