Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap_general_preconfigure, sap_maintain_etc_hosts: Ignore comments #981

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

berndfinger
Copy link
Member

... in column 1 of /etc/hosts lines.

Solves issue #132.

... in column 1 of /etc/hosts lines.

Solves issue sap-linuxlab#132.

Signed-off-by: Bernd Finger <bfinger@redhat.com>
Copy link
Contributor

@ja9fuchs ja9fuchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Tested on RHEL.

Verified:

  • duplicate but commented entries are ignored by both roles with the PR code, while both fail independent from each other when using the current dev code
  • the preconfigure role still fails correctly when there is a commented entry but no active one

Copy link
Contributor

@marcelmamula marcelmamula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it works but it still looks disheveled because of #881

# 10.1.1.1 testnode.suse.com testnode
# 10.1.1.1 testnode.suse.com testnode
10.1.1.1 testnode.suse.com testnode

@berndfinger berndfinger merged commit 2cb168c into sap-linuxlab:dev Feb 25, 2025
5 checks passed
@berndfinger berndfinger deleted the issue-132 branch February 25, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants