Created
March 2, 2017 05:18
-
-
Save jonathanelbailey/e902140c216cbff7e6ff117b68a88cb3 to your computer and use it in GitHub Desktop.
a kickstart file for installing minimal centos 7 on a baremetal machine.
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
#version=DEVEL | |
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use CDROM installation media | |
cdrom | |
# Automate install | |
autostep | |
# Use graphical install | |
#graphical | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
ignoredisk --only-use=sdb | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.UTF-8 | |
# Network information | |
network --bootproto=dhcp --device=enp15s1f0 --ipv6=auto --activate | |
network --bootproto=dhcp --device=enp15s1f2 --onboot=off --ipv6=auto | |
network --bootproto=dhcp --device=enp4s0f0 --onboot=off --ipv6=auto --activate | |
network --bootproto=dhcp --device=enp4s0f1 --onboot=off --ipv6=auto | |
network --bootproto=dhcp --device=enp4s0f2 --onboot=off --ipv6=auto --activate | |
network --bootproto=dhcp --device=enp4s0f3 --onboot=off --ipv6=auto | |
network --hostname=ovirt.magiccityit.com | |
# Root password | |
rootpw --iscrypted $6$HrYsDVtxGs2lMrKG$IJ2xhrMyJD32HoBGj9N0x8jnx1y1pF2eREcfxGSAt1CJJ0iNZ.bPyhGTygxaP3dDoYiNTGv5EuQgEY9hJkxBf/ | |
# System services | |
services --enabled="chronyd" | |
# System timezone | |
timezone America/Chicago --isUtc | |
user --groups=wheel --name=magicadmin --password=$6$p1rcVQAtMFuV/ivy$iMPN/qhSqiBfCN3n7JXmAZLy6xo.gARmhG4fhWVaR1Mfh8cvhygarVDEeG9r3saCLF8kzBZYc187g.4fJAfAE1 --iscrypted --gecos="magicadmin" | |
# System bootloader configuration | |
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sdb | |
autopart --type=lvm | |
# Partition clearing information | |
clearpart --all --initlabel --drives=sdb | |
%packages | |
@^minimal | |
@core | |
@debugging | |
chrony | |
kexec-tools | |
%end | |
%addon com_redhat_kdump --enable --reserve-mb='auto' | |
%end | |
%anaconda | |
pwpolicy root --minlen=6 --minquality=50 --notstrict --nochanges --notempty | |
pwpolicy user --minlen=6 --minquality=50 --notstrict --nochanges --notempty | |
pwpolicy luks --minlen=6 --minquality=50 --notstrict --nochanges --notempty | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment