#platform=x86, AMD64, or Intel EM64T # System authorization information auth --useshadow --enablemd5 # System bootloader configuration bootloader --append="vmalloc=256MB acpi=force vga=0x305" --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Use text mode install text # Firewall configuration firewall --disabled # Run the Setup Agent on first boot firstboot --disable # System keyboard keyboard us # System language lang en_US # Installation logging level logging --level=info # Use CDROM installation media cdrom # Network information network --bootproto=dhcp --onboot=on # Reboot after installation reboot #Root password rootpw --iscrypted $1$rzZb8K1x$sJZuumJfy/JbN6s5dgfc6/ # SELinux configuration selinux --disabled # Do not configure the X Window System skipx monitor --noprobe # System timezone timezone America/New_York # Install OS instead of upgrade install # Disk partitioning information part /boot --asprimary --bytes-per-inode=4096 --fstype="ext3" --size=128 part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 %packages @base @core -@Mail Server -@Dialup Networking Support xorg-x11-xauth emacs xterm compat-libstdc++-33 cpp gcc gdb glib2-devel glibc-devel glibc-headers kernel-devel kernel-headers kernel-PAE kernel-PAE-devel ntp subversion valgrind openmotif22 gefvme-kmod-common kmod-gefvme-PAE sudo -NetworkManager -xorg-x11-drivers -bluez-libs -bluez-utils -bluez-gnome -procmail -cups-libs -yum-updatesd %pre /scripts/pre.sh %post --nochroot # Copy over our custom scripts to the new installation mkdir /mnt/sysimage/var/tmp/scripts/ cp -ar /scripts/* /mnt/sysimage/var/tmp/scripts/ %post /var/tmp/scripts/post.sh 2> /var/tmp/post_error.log > /var/tmp/post.log