Skip to content

Commit

Permalink
Update rhel.ks.j2 template for RHEL 8 and 9 (#32)
Browse files Browse the repository at this point in the history
- Remove 'install' (Install OS instead of upgrade)
  The install Kickstart command is obsolete in RHEL 8, and removed
  in RHEL 9, causing an error during installation of AlmaLinux 9.

- Remove 'auth  --useshadow  --enablemd5' (System authorization information)
  auth and authconfig Kickstart command are deprecated in RHEL 8.
  Passwords are shadowed by default (and use sha512)

- Breaking changes : These changes are probably incompatible with RHEL 7 (untested).

- Added link to official documentation
  • Loading branch information
jsl6ul authored May 27, 2024
1 parent 815b1f7 commit b51439b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/templates/rhel.ks.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Sample kickstart file for current EL, Fedora based distributions.
# https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
Expand Down Expand Up @@ -34,8 +33,6 @@ selinux --disabled
skipx
# System timezone
timezone America/New_York
# Install OS instead of upgrade
install
# Configure partitions
$SNIPPET('partition')

Expand Down

0 comments on commit b51439b

Please sign in to comment.