Added build files for Rocky and Almalinux 10; updated Rocky and Almalinux 9 to 9.6
This commit is contained in:
@ -6,14 +6,13 @@ keyboard --vckeymap=us --xlayouts='us'
|
||||
lang en_US.UTF-8
|
||||
|
||||
# System timezone
|
||||
timezone America/New_York --isUtc
|
||||
timezone America/New_York
|
||||
|
||||
# Crypted root password
|
||||
rootpw --iscrypted $6$kkuIkd8S9gDUhK8g$1XbqJDCjt1zQAhxb9sC2mE5CGd.D0xV1efu0R8h1e.oovRKtEWqR5KaTDPSTztpxSw2qmDVORZJGnNpiJxUFT1
|
||||
# MD5 password hashing
|
||||
# SHA512 password hashing
|
||||
authselect --useshadow --passalgo=sha512
|
||||
# Create my initial user :D
|
||||
#user --disabled
|
||||
user --name=xadmin --shell=/bin/bash --homedir=/home/xadmin --iscrypted --password=$6$8DdxHyrH6HfGZhDs$jEadYAMi3CTJivYgGjhG7S2C/ChZxv0w0L6AQ3Egn8K5xIA4OEqDngVfozfn.9kYxy.hWYpzwBE0qwytcU4BF0
|
||||
|
||||
network --device=eth0 --bootproto=dhcp --ipv6=auto --activate
|
||||
@ -24,14 +23,15 @@ firstboot --disable
|
||||
selinux --disabled
|
||||
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr
|
||||
bootloader
|
||||
# Clear the Master Boot Record
|
||||
zerombr
|
||||
# Partition clearing information
|
||||
clearpart --all --initlabel
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
# Disk partitioning information
|
||||
part /boot --fstype=ext3 --size=1000
|
||||
part swap --fstype="swap" --recommended
|
||||
part biosboot --fstype=biosboot --size=2
|
||||
part /boot --fstype=ext4 --size=1000
|
||||
part swap --fstype=swap --size=4096
|
||||
part / --fstype=xfs --size=1 --grow
|
||||
|
||||
# Reboot after installation
|
||||
@ -48,7 +48,7 @@ sudo
|
||||
|
||||
%post
|
||||
# Update the system
|
||||
yum -y update
|
||||
dnf -y update
|
||||
# Istall the EPEL repository
|
||||
dnf -y install epel-release
|
||||
|
@ -6,14 +6,13 @@ keyboard --vckeymap=us --xlayouts='us'
|
||||
lang en_US.UTF-8
|
||||
|
||||
# System timezone
|
||||
timezone America/New_York --isUtc
|
||||
timezone America/New_York
|
||||
|
||||
# Crypted root password
|
||||
rootpw --iscrypted $6$kkuIkd8S9gDUhK8g$1XbqJDCjt1zQAhxb9sC2mE5CGd.D0xV1efu0R8h1e.oovRKtEWqR5KaTDPSTztpxSw2qmDVORZJGnNpiJxUFT1
|
||||
# MD5 password hashing
|
||||
# SHA512 password hashing
|
||||
authselect --useshadow --passalgo=sha512
|
||||
# Create my initial user :D
|
||||
#user --disabled
|
||||
user --name=xadmin --shell=/bin/bash --homedir=/home/xadmin --iscrypted --password=$6$8DdxHyrH6HfGZhDs$jEadYAMi3CTJivYgGjhG7S2C/ChZxv0w0L6AQ3Egn8K5xIA4OEqDngVfozfn.9kYxy.hWYpzwBE0qwytcU4BF0
|
||||
|
||||
network --device=eth0 --bootproto=dhcp --ipv6=auto --activate
|
||||
@ -30,8 +29,9 @@ zerombr
|
||||
# Partition clearing information
|
||||
clearpart --all --initlabel
|
||||
# Disk partitioning information
|
||||
part /boot --fstype=ext3 --size=1000
|
||||
part swap --fstype="swap" --recommended
|
||||
part biosboot --fstype=biosboot --size=2
|
||||
part /boot --fstype=ext4 --size=1000
|
||||
part swap --fstype=swap --size=4096
|
||||
part / --fstype=xfs --size=1 --grow
|
||||
|
||||
# Reboot after installation
|
||||
@ -48,7 +48,7 @@ sudo
|
||||
|
||||
%post
|
||||
# Update the system
|
||||
yum -y update
|
||||
dnf -y update
|
||||
# Istall the EPEL repository
|
||||
dnf -y install epel-release
|
||||
|
Reference in New Issue
Block a user