Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minimal Fedora 17 Kickstart
# Install, not upgrade
install
# Install from a friendly mirror and add updates
url --url=http://mirror.itc.virginia.edu/fedora/releases/17/Fedora/x86_64/os/
repo --name=updates
# Language and keyboard setup
lang en_US.UTF-8
keyboard us
# Configure DHCP networking w/optional IPv6, firewall on
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto --hostname fedora.local
firewall --service=ssh
# Set timezone
timezone --utc Etc/UTC
# Authentication
rootpw qwerty
authconfig --enableshadow --passalgo=sha512
# SELinux
selinux --enforcing
# Services running at boot
services --enabled network,sshd
services --disabled sendmail
# Disable anything graphical
skipx
text
# Setup the disk
zerombr
clearpart --all
part / --fstype=ext4 --grow --size=1024 --asprimary
#part swap --size=512 # lets do no swap partition for now
bootloader --location=mbr --timeout=5
# Shutdown when the kickstart is done
halt
# Minimal package set
%packages --excludedocs --nobase
@Core
%end
# Nothing for now.
#%post
#%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment