Ich habe das jetzt nicht irgendwo hingelegt .. aber das letzte Woche für eine RHEL 7-Installation, sollte aber für CentOS7 das gleiche sein. Schritte sind wie folgt:
Holen Sie sich die ISO-Datei von CentOS 7
mount -o Schleife CentOS-7.0 * .iso / mnt /
mkdir -p / CentOS-7-ISO-respin /
rsync -avz / mnt / / CentOS-7-ISO-respin / RHEL-7-unpacked
Legen Sie Ihre Kickstart-Datei in / CentOS-7-ISO-respin / RHEL-7-unpacked ab
Fügen Sie eine neue Zeile zu /CentOS-7-ISO-respin/RHEL-7-unpacked/isolinux/isolinux.cfg hinzu (auf diese Weise können Sie das ISO auch von einer DVD verwenden). Beschriftung linux_ks Menübezeichnung ^ Installieren Sie CentOS 7 mit dem Kickstart-Kernel vmlinuz initrd = initrd.img inst.stage2 = hd: sdb2: / ks = hd: sdb1: /ks.cfg
Erstellen Sie das ISO mit: / usr / bin / genisoimage -untranslated-Dateinamen -volid 'CentOS-7.0-KS-x86_64' -J -joliet-long -rational-rock -Translation-table-input-charset utf-8 -x / lost + found -b isolinux / isolinux.bin -c isolinux / boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images / efiboot.img -no-emul-boot -o /CentOS-7-ISO-respin/CentOS-7-KS-iso/CentOS-7.0-KS-x86_64-DVD.iso -T / CentOS-7-ISO-respin / CentOS-7 -unverpackt/ ; Isohybrid -u / CentOS-7-ISO-respin/CentOS-7-KS-iso/CentOS-7.0-KS-x86_64-DVD.iso
dd if = / CentOS-7-ISO-respin / CentOS-7-CSB-iso / CentOS-7.0-KS-x86_64-DVD.iso von = / dev / XXX (wobei XXX der Gerätename Ihres USB-Laufwerks ohne ist Partitionsnummer zB / dev / sdb) (Achtung, dieser Befehl zerstört alle Daten auf dem Stick)
https://www.redhat.com/archives/kickstart-list/2014-August/msg00010.html