Skip to content

Instantly share code, notes, and snippets.

@havilchis
Last active November 10, 2019 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save havilchis/00cb7a5eb1b3e286c9affbb2e86f74bb to your computer and use it in GitHub Desktop.
Save havilchis/00cb7a5eb1b3e286c9affbb2e86f74bb to your computer and use it in GitHub Desktop.
#version=RHEL8
ignoredisk --only-use=sda
# Partition clearing information
clearpart --none --initlabel
# Use graphical install
graphical
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Use CDROM installation media
cdrom
# Keyboard layouts
keyboard --vckeymap=es --xlayouts='es','latam','us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$ZuvyePA.3iBYhtxw$.kv711MD1BtMzwEA.J21zw8h3r4mYE4QlfiRzI/7JNDJPQ2V0NNI.FkrvEgvNEelO/gaRGiHEyBjWICBd7g1G/
# X Window System configuration information
xconfig --startxonboot
# Run the Setup Agent on first boot
firstboot --enable
# System services
services --enabled="chronyd"
# System timezone
timezone Etc/UTC --isUtc
# Disk partitioning information
part /boot --fstype="ext4" --ondisk=sda --size=1024
part pv.447 --fstype="lvmpv" --ondisk=sda --size=146432
volgroup cl --pesize=4096 pv.447
logvol swap --fstype="swap" --size=2048 --name=swap --vgname=cl
logvol /home --fstype="xfs" --size=1024 --grow --label="user_data" --name=home --vgname=cl
logvol / --fstype="xfs" --size=102400 --label="os_system" --name=root --vgname=cl
%packages
@^workstation-product-environment
kexec-tools
%end
%addon com_redhat_kdump --enable --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