# Firewall configuration firewall --disabled # Install OS instead of upgrade install # Root password rootpw --plaintext redhat # System authorization information auth --useshadow --passalgo=md5 # Use graphical install graphical firstboot --disable # System keyboard keyboard us # System language lang en_US # SELinux configuration selinux --disabled # Installation logging level logging --level=info # Poweroff after installation poweroff # System timezone timezone --isUtc Europe/Prague # Clear the Master Boot Record zerombr # System bootloader configuration bootloader --location=mbr # Partition clearing information clearpart --all --initlabel ## Automatic partitioning #autopart # Disk partitioning information part / --asprimary --fstype="ext4" --grow --size=1 part swap --fstype="swap" --size=1024 # Use online Fedora repos repo --name=repo-fedora --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=x86_64 repo --name=repo-updates --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=x86_64 %packages @Administration Tools @Base @Development Tools @Editors @Fonts @GNOME Desktop Environment @Graphical Internet @Hardware Support @Mail Server @System Tools @X Window System mc vim ipython %end %post # install autoqa wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/fedora-autoqa.repo yum install -y autoqa yum remove -y autoqa git clone git://git.fedorahosted.org/autoqa.git /autoqa cd /autoqa make clean install # enable root login sed -i '/user != root/s/^/#/' /etc/pam.d/gdm{,-password} %end