Skip to content

Instantly share code, notes, and snippets.

@sarandafl
Created March 21, 2017 08:41
Show Gist options
  • Save sarandafl/7447a50acb224fd6248ee3503ecea796 to your computer and use it in GitHub Desktop.
Save sarandafl/7447a50acb224fd6248ee3503ecea796 to your computer and use it in GitHub Desktop.
#version=DEVEL
# Install OS instead of upgrade
install
text
# Firewall configuration
# This is NOT the same as firewalld
firewall --disabled
# Use FTP installation media
url --url="ftp://172.16.1.1/pub/"
# Root password
rootpw --iscrypted $1$pB8kaSNY$7ZbfKmp7rGovx4BnKHSjp.
# System authorization information
auth useshadow passalgo=sha512
# Create management user
user --name=srv_admin --groups=wheel --shell=/bin/bash --password=$1$pB8kaSNY$7ZbfKmp7rGovx4BnKHSjp. --iscrypted
firstboot --disable
# Reboot afer installing
reboot
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux enforcing
# Installation logging level
logging level=info
# System timezone
timezone Europe/Zurich --isUtc
# Partition clearing information
clearpart --all --drives=sda
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
%packages
@^minimal
@core
git
%end
%addon com_redhat_kdump --disable --reserve-mb='auto'
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment