Last active
January 31, 2020 23:47
-
-
Save noslin005/925ad5698efb6740a1aa877e7021053f to your computer and use it in GitHub Desktop.
RedHat 7 KS
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=RHEL7 | |
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use graphical install | |
graphical | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
ignoredisk --only-use=sde | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.UTF-8 | |
# Network information | |
network --bootproto=dhcp --device=ens1f0 --ipv6=auto --activate | |
network --bootproto=dhcp --device=ens1f1 --onboot=off --ipv6=auto | |
network --bootproto=dhcp --device=ens5f0 --onboot=off --ipv6=auto | |
network --bootproto=dhcp --device=ens5f1 --onboot=off --ipv6=auto | |
network --hostname=localhost.localdomain | |
repo --name="Server-HighAvailability" --baseurl=http://192.168.1.1/os/redhat/7.7//addons/HighAvailability | |
repo --name="Server-ResilientStorage" --baseurl=http://192.168.1.1/os/redhat/7.7//addons/ResilientStorage | |
# Use network installation | |
url --url="http://192.168.1.1/os/redhat/7.7/" | |
# Root password | |
rootpw --iscrypted $6$9x6R.5cl1zZ8/lWt$cYA9TGLlvdADA.YYXyDH5Z1RuVqL/cdtgVmGDTOn5QDRwyXBgwVncU9VOPyooHngFURkD2CRCFbHgWwvTBHWc. | |
# System services | |
services --enabled="chronyd" | |
# System timezone | |
timezone America/New_York --isUtc | |
user --name=user --password=$6$LSJKuFxswWw0/Oiv$kSpBFvhIG9Jiel5VeQZrkTmG4Z.pQElrd9lGVPZLqByYIrNDJcwFQIuBz7DVXOWBQpbPyoi64NlBBPGSiCDf80 --iscrypted --gecos="Default User" | |
# X Window System configuration information | |
xconfig --startxonboot | |
# System bootloader configuration | |
bootloader --location=mbr --boot-drive=sde | |
# Partition clearing information | |
clearpart --none --initlabel | |
# Disk partitioning information | |
part /boot/efi --fstype="efi" --ondisk=sde --size=500 --fsoptions="umask=0077,shortname=winnt" | |
part /boot --fstype="xfs" --ondisk=sde --size=500 | |
part / --fstype="xfs" --ondisk=sde --size=51200 | |
part swap --fstype="swap" --ondisk=sde --size=8192 | |
part /home --fstype="xfs" --ondisk=sde --size=1 --grow | |
%packages | |
@^graphical-server-environment | |
@base | |
@compat-libraries | |
@core | |
@desktop-debugging | |
@development | |
@dial-up | |
@fonts | |
@gnome-desktop | |
@guest-agents | |
@guest-desktop-agents | |
@hardware-monitoring | |
@infiniband | |
@input-methods | |
@internet-browser | |
@java-platform | |
@multimedia | |
@print-client | |
@x11 | |
chrony | |
vim | |
%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 |
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=RHEL8 | |
url --url="http://192.168.1.1/os/redhat/8" | |
# Use graphical install | |
graphical | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.UTF-8 | |
# Network information | |
network --hostname=localhost.localdomain | |
# Root password | |
rootpw --iscrypted $6$yT1ZGULajzQDvnJy$J.AgJWOa/KXjliioFRewsPoQnTCSfsQ.QUNoHcG0bT3c1riUFmVmbF8fIjdTpS3ZUsM7s6nMujfBgmBMLMvBQ1 | |
# X Window System configuration information | |
xconfig --startxonboot | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
# System services | |
services --enabled="chronyd" | |
# System timezone | |
timezone America/New_York --isUtc | |
user --name=user --password=$6$Ne4BqD8k28BR1nrf$q68NLF9aH3bsqBHfxxlEzK5oCgwOnnRwH92QDgKjKJxUiODov6hgsKO.eGvZHRSZEXCgUXOYw7urtPKI4YCU10 --iscrypted --gecos="Default User" | |
%packages | |
@^graphical-server-environment | |
@development | |
@headless-management | |
@network-server | |
@security-tools | |
@smart-card | |
@system-tools | |
@additional-devel | |
%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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment