#platform=x86, AMD64, or Intel EM64T # System authorization information auth --useshadow --enablemd5 # System bootloader configuration bootloader --append="rhgb" --location=mbr --driveorder=sda # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel --drives=sda # Use graphical install #graphical text # Firewall configuration firewall --disabled # Run the Setup Agent on first boot firstboot --disable key INSTALLKEY # System keyboard keyboard us # System language lang en_US # Installation logging level logging --level=info # Use CDROM installation media cdrom # Network information network --hostname=HOSTNAME --bootproto=static --device=eth0 --gateway=192.168.1.1 --ip=192.168.1.IP --nameserver=192.168.1.1 --netmask=255.255.255.0 --onboot=on #network --bootproto=dhcp --device=eth1 --onboot=on #network --bootproto=dhcp --device=eth2 --onboot=on #network --bootproto=dhcp --device=eth3 --onboot=on # Reboot after installation reboot #Root password rootpw ROOTPW #user user --name=USER --password=USERPW # SELinux configuration selinux --disabled # System timezone timezone Europe/Budapest # Install OS instead of upgrade install # X Window System configuration information xconfig --defaultdesktop=GNOME --depth=24 --resolution=1024x768 --startxonboot # Disk partitioning information part /boot --fstype="ext2" --size=100 part swap --fstype="swap" --recommended part / --fstype="ext3" --grow --size=1 %packages @office @admin-tools @editors @hungarian-support @text-internet @gnome-desktop @dialup @core @slovak-support @base @games @java @base-x @graphics @printing @sound-and-video @graphical-internet joe wget kexec-tools device-mapper-multipath xorg-x11-utils xorg-x11-server-Xnest libsane-hpaio -sysreport %post wget http://webserver/ntp.conf cp -f /etc/ntp.conf /etc/ntp.conf.orig mv ntp.conf /etc/ntp.conf mkdir /root/install_dir cd /root/install_dir wget http://webserver/package.tbz tar xjvf package.tbz sh install_script.sh /sbin/chkconfig --level 345 ntpd on