Fix typo, and change user/password

This commit is contained in:
Bob Robison 2024-04-26 07:35:13 -05:00
parent 38b9f6a42c
commit c8143a7def
Signed by: grayeul
GPG Key ID: BBFC833068C21941
2 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# To boot, you should be able to boot off of a 'boot' ISO, # To boot, you should be able to boot off of a 'boot' ISO,
# or any other installable Rocky ISO. # or any other installable Rocky ISO.
# After DVD boot, modify kernel line to add pointer to ks hosted via http, e.g.: # After DVD boot, modify kernel line to add pointer to ks hosted via http, e.g.:
# inst.noverifyssl inst.ks=http://1.2.3.4/rockykde-test.ks # inst.noverifyssl inst.ks=http://1.2.3.4/rocky8kde-test.ks
# #
%pre %pre
# This can be changed to specify installing from a different repo/version ref # This can be changed to specify installing from a different repo/version ref
@ -12,6 +12,8 @@
INST_VERS=stg/rocky/8.10-BETA INST_VERS=stg/rocky/8.10-BETA
MAJOR_VERS=8 MAJOR_VERS=8
# The URL and repo options are written to a ksi file for later inclusion in main kickstart
# This is done in order to more easily utilize the variables above
echo "url --url https://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/" > /tmp/installVersInfo.ksi echo "url --url https://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/" > /tmp/installVersInfo.ksi
echo "repo --name='BaseOS' --baseurl=http://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi echo "repo --name='BaseOS' --baseurl=http://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi
echo "repo --name='AppStream' --baseurl=http://dl.rockylinux.org/$INST_VERS/AppStream/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi echo "repo --name='AppStream' --baseurl=http://dl.rockylinux.org/$INST_VERS/AppStream/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi
@ -29,7 +31,7 @@ keyboard 'us'
# Root password # Root password
rootpw --iscrypted --lock locked rootpw --iscrypted --lock locked
# Establish a test user that can login initially with defined password here: # Establish a test user that can login initially with defined password here:
user --name=tester --groups=wheel,systemd-journal --password=changeMe! user --name=rocky --groups=wheel,systemd-journal --password=rockylinux
# System language # System language
lang en_US.UTF-8 lang en_US.UTF-8
# Shutdown after installation # Shutdown after installation
@ -61,7 +63,7 @@ part / --grow --ondisk=/dev/sda
%packages %packages
# Package list from Rocky-8-KDI # Package list from Rocky-8-KDE
@^kde-desktop-environment @^kde-desktop-environment
@anaconda-tools @anaconda-tools
@base-x @base-x

View File

@ -3,7 +3,7 @@
# To boot, you should be able to boot off of a 'boot' ISO, # To boot, you should be able to boot off of a 'boot' ISO,
# or any other installable Rocky ISO. # or any other installable Rocky ISO.
# After DVD boot, modify kernel line to add pointer to ks hosted via http, e.g.: # After DVD boot, modify kernel line to add pointer to ks hosted via http, e.g.:
# inst.noverifyssl inst.ks=http://1.2.3.4/rockykde-test.ks # inst.noverifyssl inst.ks=http://1.2.3.4/rocky9kde-test.ks
# #
%pre %pre
# This can be changed to specify installing from a different repo/version ref # This can be changed to specify installing from a different repo/version ref
@ -12,6 +12,8 @@
INST_VERS=pub/rocky/9.3 INST_VERS=pub/rocky/9.3
MAJOR_VERS=9 MAJOR_VERS=9
# The URL and repo options are written to a ksi file for later inclusion in main kickstart
# This is done in order to more easily utilize the variables above
echo "url --url https://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/" > /tmp/installVersInfo.ksi echo "url --url https://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/" > /tmp/installVersInfo.ksi
echo "repo --name='BaseOS' --baseurl=http://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi echo "repo --name='BaseOS' --baseurl=http://dl.rockylinux.org/$INST_VERS/BaseOS/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi
echo "repo --name='AppStream' --baseurl=http://dl.rockylinux.org/$INST_VERS/AppStream/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi echo "repo --name='AppStream' --baseurl=http://dl.rockylinux.org/$INST_VERS/AppStream/\$basearch/os/ --cost=200" >> /tmp/installVersInfo.ksi
@ -29,7 +31,7 @@ keyboard 'us'
# Root password # Root password
rootpw --iscrypted --lock locked rootpw --iscrypted --lock locked
# Establish a test user that can login initially with defined password here: # Establish a test user that can login initially with defined password here:
user --name=tester --groups=wheel,systemd-journal --password=changeMe! user --name=rocky --groups=wheel,systemd-journal --password=rockylinux
# System language # System language
lang en_US.UTF-8 lang en_US.UTF-8
# Shutdown after installation # Shutdown after installation
@ -61,7 +63,7 @@ part / --grow --ondisk=/dev/sda
%packages %packages
# Package list from Rocky-8-KDI # Package list from Rocky-8-KDE
@^kde-desktop-environment @^kde-desktop-environment
@anaconda-tools @anaconda-tools
@base-x @base-x