Last active
January 25, 2018 02:03
-
-
Save drew-holt/e00fc2879db092e7c42b4d0101935caf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.fedoraproject.org/f27/install-guide/appendixes/Kickstart_Syntax_Reference.html | |
# Configure installation method | |
install | |
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-27&arch=x86_64" | |
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f27&arch=x86_64" --cost=100 | |
# zerombr | |
zerombr | |
# Configure Boot Loader | |
bootloader --location=mbr --driveorder=sda | |
# Create Physical Partition | |
# part /boot --size=512 --asprimary --ondrive=sda --fstype=xfs # keeping everything in / | |
# part swap --size=10240 --ondrive=sda --encrypted --passphrase=awesomePassword # will create a swapfile | |
part / --size=8192 --grow --asprimary --ondrive=sda --fstype=ext4 | |
# Remove all existing partitions | |
clearpart --all --drives=sda | |
# Configure Firewall | |
firewall --enabled --ssh | |
# Configure Network Interfaces | |
network --onboot=yes --bootproto=dhcp --hostname=drew-serv | |
# Configure Keyboard Layouts | |
keyboard us | |
# Configure Language During Installation | |
lang en_US | |
# Configure Time Zone | |
timezone America/Denver | |
# Configure Authentication | |
auth --passalgo=sha512 | |
# Create User Account | |
user --name=drew --password=temppassword --plaintext --groups=wheel | |
# Set Root Password | |
rootpw --lock | |
# Perform Installation in Text Mode | |
text | |
# Package Selection | |
%packages | |
@core | |
@standard | |
@hardware-support | |
vim | |
irssi | |
nmap | |
tcpdump | |
ansible | |
strace | |
wireshark | |
%end | |
# Post-installation Script | |
%post | |
# Need to write post scripts | |
%end | |
# Reboot After Installation | |
reboot --eject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment