58 lines
1.4 KiB
Text
58 lines
1.4 KiB
Text
# Generated by Anaconda 34.25.5.9
|
|
# Generated by pykickstart v3.32
|
|
#version=RHEL9
|
|
# Use graphical install
|
|
graphical
|
|
|
|
%addon com_redhat_kdump --enable --reserve-mb='auto'
|
|
|
|
%end
|
|
|
|
# Keyboard layouts
|
|
keyboard --xlayouts='us'
|
|
# System language
|
|
lang en_US.UTF-8
|
|
|
|
# Netwrok
|
|
network --bootproto=dhcp --hostname REPLACE_HOSTNAME
|
|
|
|
# Use CDROM installation media
|
|
cdrom
|
|
|
|
%packages
|
|
@^minimal-environment
|
|
|
|
%end
|
|
|
|
# Run the Setup Agent on first boot
|
|
firstboot --enable
|
|
|
|
# Generated using Blivet version 3.6.0
|
|
ignoredisk --only-use=sda
|
|
# System bootloader configuration
|
|
bootloader --append="crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M" --location=mbr --boot-drive=sda
|
|
# Partition clearing information
|
|
clearpart --none --initlabel
|
|
# Disk partitioning information
|
|
part / --fstype="ext4" --ondisk=sda --grow --size=5000
|
|
|
|
# System timezone
|
|
timezone America/Chicago --utc
|
|
|
|
#Root password
|
|
rootpw --lock
|
|
sshkey --username=root "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com"
|
|
user --groups=wheel --name=no --password=$6$pZnQonMmlKoyuv8c$E7THwTYjb4E65r0dRReXV/jKHuKXQSULhpf/DPyQJZkap5KPXKOAiaO2iVF2dHDxnYQDwqpysPnHQ6sh4AJBg0 --iscrypted --gecos="no"
|
|
|
|
%post
|
|
#Add root ssh for completing build
|
|
mkdir /root/.ssh/
|
|
cat <<EOF >/root/.ssh/authorized_keys
|
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com
|
|
EOF
|
|
|
|
chmod 0700 /root/.ssh/
|
|
chmod 0600 /root/.ssh/authorized_keys
|
|
|
|
restorecon -R /root/.ssh/
|
|
%end
|