Last active
March 21, 2018 12:57
-
-
Save chrisbelyea/2d340da1fc418a36ba6c7c87bf9205e5 to your computer and use it in GitHub Desktop.
Kickstart
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
#version=DEVEL | |
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use CDROM installation media | |
#cdrom | |
# Use online installation media | |
url --url="http://mirror.cogentco.com/pub/linux/centos/7/os/x86_64/" | |
# Use graphical install | |
graphical | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
ignoredisk --only-use=sda | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.UTF-8 | |
# Network information | |
network --bootproto=dhcp --device=eth0 --ipv6=auto --activate | |
network --hostname=localhost.localdomain | |
# Root password | |
rootpw --iscrypted $6$ViJ6i2XkuDtiJFFT$Gu0k.j8f0pwmHwIsQHxLNRvAtS8D6ca9Q438Iiw3F6Ow4Tc5iMtABeVxmFNbRiBEiAyqJ7Ey.NgtcfdqUqm3a0 | |
# System services | |
services --enabled=chronyd,sshd | |
# System timezone | |
timezone Etc/UTC --isUtc | |
# System bootloader configuration | |
bootloader --location=mbr --boot-drive=sda | |
autopart --type=lvm | |
# Partition clearing information | |
clearpart --none --initlabel | |
# Add repo to make latest packages available | |
repo --name=base --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock | |
repo --name=updates --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock | |
repo --name=extras --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock | |
%packages | |
@^minimal | |
@core | |
chrony | |
%end | |
%addon com_redhat_kdump --disable --reserve-mb='auto' | |
%end | |
%anaconda | |
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty | |
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok | |
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty | |
%end | |
reboot --eject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment