Last active
March 25, 2022 21:30
-
-
Save richard-scott/712ad447e74ac44ba427a06d4f0f6382 to your computer and use it in GitHub Desktop.
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=RHEL8 | |
text | |
repo --name="Minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/Minimal | |
%packages | |
@^minimal-environment | |
@headless-management | |
@legacy-unix | |
@standard | |
@system-tools | |
%end | |
# Keyboard layouts | |
keyboard --xlayouts='gb' | |
# System language | |
lang en_GB.UTF-8 | |
# Network information | |
network --bootproto=static --device=eno1 --gateway=192.168.16.1 --ip=192.168.16.4 --nameserver=8.8.8.8,8.8.4.4 --netmask=255.255.255.0 --ipv6=auto --activate | |
network --bootproto=dhcp --device=eno2 --onboot=off --ipv6=auto | |
network --bootproto=dhcp --device=ens1f0np0 --onboot=off --ipv6=auto | |
network --bootproto=static --device=ens1f1np1 --ip=192.168.99.4 --netmask=255.255.255.0 --onboot=off --ipv6=auto --activate | |
network --hostname=build-proxy.local | |
# Use CDROM installation media | |
cdrom | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
ignoredisk --only-use=sda | |
# Partition clearing information | |
clearpart --all --initlabel | |
# Disk partitioning information | |
part pv.1733 --fstype="lvmpv" --ondisk=sda --size=856900 --encrypted --luks-version=luks2 | |
part /boot --fstype="ext4" --ondisk=sda --size=953 | |
part biosboot --fstype="biosboot" --ondisk=sda --size=2 | |
volgroup almalinux --pesize=4096 pv.1733 | |
logvol swap --fstype="swap" --size=30517 --name=swap --vgname=almalinux | |
logvol / --fstype="ext4" --size=826376 --name=root --vgname=almalinux | |
# System timezone | |
timezone Europe/London --isUtc --nontp | |
# Root password | |
rootpw --iscrypted $6$blwbdQmzZC6WR9r.$SGNEFvlmybZNY0LL2aA6bgT2uA9TZbFQoQWe1cflLtDafc0ho/yFOeE1.xuIOMY5mkEXmtz5.L8zDwl/ReNfc. | |
%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