Features/MinimalPlatform/KickStart

From FedoraProject

Jump to: navigation, search
#Repos
#repo  --name=rawhide --baseurl=file:///mnt/mirror/fedora/development/i386/os
repo  --name=rawhide --baseurl=http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/test/11-Alpha/Fedora/i386/os/

# Perform the kickstart install in Text Mode.  Installs are
# performed in graphical mode by default.
text

#Security
network --bootproto=dhcp --device=eth0 --onboot=on
firewall --enabled --port=22:tcp
selinux --enforcing
auth --useshadow --passalgo=sha512

#Language
keyboard us
lang en_US.UTF-8
timezone  US/Eastern

#Boot
zerombr
bootloader --append="acpi=force audit=1" --location=mbr --timeout=3


#Partitions
clearpart --all
#part /boot	--fstype ext3 --ondisk sda --size 128 
part /		--fstype ext3 --ondisk sda --size 1200
#part swap	--fstype swap --ondisk sda --size 512 
part /home  	--fstype ext3 --ondisk sda --size 100 
part /tmp	--fstype ext3 --ondisk sda --size 64 
#part /var/log	--fstype ext3 --ondisk sda --size 384 


%packages
@core
kernel #not needed in case of anaconda install
%end

%post
# Make plymouth happy so we can boot
/usr/sbin/plymouth-set-default-plugin text

#turn on services
/sbin/chkconfig --level=3 network on
/sbin/chkconfig --level=3 auditd on
/sbin/chkconfig --level=3 crond on
/sbin/chkconfig --level=3 sshd on
%end