#ckstart Configurator #platform=x86, AMD64, or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse genericwheelps/2 #Sytem timezone timezone America/New_York #Root password rootpw --iscrypted $1$zt.yCm/N$46LGQtvmSC9Vmukw8ac3I. #Reboot after installation reboot #Install OS instead of upgrade install #Use NFS installation Media nfs --server=192.168.0.250 --dir=/data/install/fedora #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --all --initlabel #Disk partitioning information part /boot --fstype ext3 --size 100 --ondisk=hda #part /reserve-boot --fstype ext3 --size 100 --ondisk=hda #part /reserve-root --fstype ext3 --size 4072 --ondisk=hda part / --fstype ext3 --size 4072 --ondisk=hda #System authorization infomation auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --enabled #Do not configure XWindows skipx #Package install information %packages --resolvedeps rsync -anacron -ash -aspell -aspell -aspell-en -at -attr -authconfig -autofs -bind-utils -comps -crontabs -dos2unix -dump -fbset -finger -ftp -gnupg -groff -hesiod -irda-utils -isdn4k-utils -jwhois -lftp -lha -libpcap -libwvstreams -logrotate -logwatch -lrzsz -lsof -mailx -man -man-pages -mdadm -minicom -mtr -mt-st -nano -nc -netconfig -netdump -nss_ldap -ntsysv -openssh-server -pam_smb -parted -pax -perl -perl-Filter -pinfo -policy -policycoreutils -ppp -prelink -psacct -python-optik -quota -rdate -rdist -rhnlib -rmt -rp-pppoe -rsh -schedutils -sendmail -slocate -specspo -star -statserial -stunnel -sudo -symlinks -system-config-mouse -system-config-network-tui -system-config-securitylevel-tui -talk -tcpdump -tcsh -telnet -time -traceroute -unix2dos -unzip -up2date -utempter -vconfig -vim-minimal -vixie-cron -wget -wvdial -ypbind -yp-tools -zip %post --nochroot --interpreter /usr/bin/python import os import re import sys import time os.system("rm -rf /mnt/sysimage/boot/*") os.system("rm -rf /mnt/sysimage/*") os.system("rsync -av rsync://192.168.0.4/stateless-boot/ /mnt/sysimage/boot") os.system("rsync -av --exclude '/boot/*' rsync://192.168.0.4/stateless/ /mnt/sysimage/")