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_maintain_etc_hosts: Change space to tab delimiter #881

Open
marcelmamula opened this issue Oct 24, 2024 · 0 comments
Open

sap_maintain_etc_hosts: Change space to tab delimiter #881

marcelmamula opened this issue Oct 24, 2024 · 0 comments
Assignees

Comments

@marcelmamula
Copy link
Contributor

Problem

sap_install_media_detect currently updates /etc/hosts file with spaces, creating usable but unsightly output.
Example of first line overwritten by role, while second line is kept unchanged.

10.10.10.170 je1scs.aws.com je1scs
10.10.10.138    je1ers.aws.com      je1ers

Solution

Change from space to Tab \t as already done in https://github.com/sap-linuxlab/community.sap_infrastructure/blob/0e67afc14738c8731192ef9f5040496c4a96e9b1/roles/sap_vm_provision/tasks/common/set_etc_hosts.yml#L24

@berndfinger @rhmk

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

No branches or pull requests

2 participants