install
url --url=http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/18/Fedora/x86_64/os/
# Yum Repos
repo --name=fedora \
--mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-18&arch=x86_64
repo --name=fedora-updates \
--mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f18&arch=x86_64
# Network
network --hostname=spherical.x220i
# Language
lang en_US.UTF-8
keyboard us
timezone Asia/Tokyo
# Security
selinux --disabled
firewall --disabled
# Disk
part / --noformat --onpart=LABEL=ROOT-F18
part /home --noformat --onpart=LABEL=HOME
%packages
@core --nodefaults
@development-tools --nodefaults
@base-x --nodefaults
tmux
zsh
vim
tree
ack
man-pages
texlive-ptex
mercurial
git
subversion
mysql
mongodb
PackageKit
gdm
gnome-session
gnome-session-xsession
gnome-terminal
gnome-tweak-tool
firefox
evince
eog
inkscape
ibus-skk
%end
%pre
%end
%post
yum update -y
# yum makecache && yum distro-sync
useradd --home=/home/kaorimatz --shell=/bin/zsh
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
systemctl enable gdm
%end
The label on the partition can be managed by e2label
if the target partition is formatted as either ext2, ext3 or ext4.
# e2label /dev/sda1
# e2label /dev/sda2
# e2label /dev/sda1 ROOT-F18
# e2label /dev/sda2 HOME
We can tell anaconda
the path to the kickstart file with --kickstart
option.
# anaconda --kickstart=/root/ks.cfg