Created
September 1, 2017 05:31
-
-
Save soulsearcher/d30b0b0629fbdebd27951e9958e01222 to your computer and use it in GitHub Desktop.
Kickstart file for centos 7
This file contains hidden or 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
# | |
# kickstart for centos7 | |
# reference - https://github.com/boxcutter/centos/blob/master/http/ks7.cfg | |
# | |
lang en_US.UTF-8 | |
keyboard us | |
rootpw vagrant | |
auth --useshadow --passalgo=sha512 | |
timezone UTC | |
install | |
cdrom | |
user --name=vagrant --plaintext --password vagrant | |
unsupported_hardware | |
network --device eth0 --bootproto=dhcp | |
firewall --disabled | |
selinux --disabled | |
bootloader --location=mbr --append="no_timer_check console=tty0 console=ttyS0,115200 net.ifnames=0 biosdevname=0" | |
text | |
skipx | |
zerombr | |
clearpart --all --initlabel | |
# Disk partitioning information | |
part /boot --asprimary --fstype="ext4" --size=1024 | |
part swap --asprimary --fstype="swap" --size=4096 | |
part / --asprimary --fstype="ext4" --grow --size=1 | |
firstboot --disabled | |
reboot | |
%packages --nobase --ignoremissing --excludedocs | |
@^minimal | |
@core | |
%end | |
%post | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment