aii-ks: deprecated commands and options in EL8 and EL9#355
Open
StephaneGerardVUB wants to merge 1 commit intoquattor:mainfrom
Open
aii-ks: deprecated commands and options in EL8 and EL9#355StephaneGerardVUB wants to merge 1 commit intoquattor:mainfrom
StephaneGerardVUB wants to merge 1 commit intoquattor:mainfrom
Conversation
…is precrecated since EL8
stdweird
reviewed
May 22, 2025
| print "logging --host=$tree->{logging}->{host} ", | ||
| "--port=$tree->{logging}->{port}"; | ||
| print " --level=$tree->{logging}->{level}" if $tree->{logging}->{level}; | ||
| unless ($version >= ANACONDA_VERSION_EL_9_0) { |
Member
There was a problem hiding this comment.
what does deprecated mean? it's not doing anything in el9 anymore?
anyway, don't use unless, but add extra conditional in previous line like
... if $tree->{logging}->{level} && $version < ANACONDA_VERSION_EL_9_0;
stdweird
reviewed
May 22, 2025
| unless ($version >= ANACONDA_VERSION_EL_8_0) { | ||
| print "auth ", join(" ", map("--$_", @{$tree->{auth}})), "\n"; | ||
| } else { | ||
| print "authselect select sssd --force\n"; |
Member
There was a problem hiding this comment.
The following profiles are valid on EL8:
# authselect list
- minimal Local users only for minimal installations
- nis Enable NIS for system authentication
- sssd Enable SSSD for system authentication (also for local users only)
- winbind Enable winbind for system authentication
The following profiles are valid on EL9:
# authselect list
- minimal Local users only for minimal installations
- sssd Enable SSSD for system authentication (also for local users only)
- winbind Enable winbind for system authentication
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer#auth_or_authconfig_is_deprecated_in_rhel_8