Fix yast_user by adding the IP of the NIS server #15051
Merged
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.
yast_user failed because if ypwhich returning an IP.
This change adds IP of the nis server through a variable.
ypwhich is a tool that "return[s] name of NIS server or map master".
but it sometimes returns the IP address instead of the hostname, so the test failed
because of this.
The change also re-enables yast_user, introduces the variable
"NAMESERVER", and fixes wrong formatting in variable.md
See https://progress.opensuse.org/issues/112271
Please also merge https://gitlab.suse.de/qa-maintenance/qam-openqa-yml/-/merge_requests/265 if you merge this one.
VR:
http://waaa-amazing.suse.cz/tests/17006
debug output with IP: http://waaa-amazing.suse.cz/tests/17005#step/yast_users/54