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

only write fcp into rd.zfcp for rhel8 and rhel9 #773

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

haolp
Copy link
Contributor

@haolp haolp commented Nov 23, 2023

No description provided.

@haolp haolp marked this pull request as ready for review December 5, 2023 03:37
inform "valid paths count $valid_paths_count is greater than 8, do truncation to get the rd.zfcp parameter."
truncaterdzfcp
fi
if [[ ($os == rhel8*) || ($os == rhel9*) ]]; then
updaterdzfcp_with_fcp_only
Copy link
Contributor

Choose a reason for hiding this comment

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

updaterdzfcp_with_fcp_only -> update_rdzfcp_to_fcp_only

valid_fcps=$(echo ${!valid_paths_dict[*]})
for fcp in ${valid_fcps[@]}
do
rd_zfcp+="rd.zfcp=0.0.$fcp "
Copy link
Contributor

Choose a reason for hiding this comment

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

If there are multiple paths bond to the same FCP, the FCP will be writen several times in rd_zfcp.

@haolp haolp requested a review from dongyanyang December 5, 2023 09:56
@dongyanyang dongyanyang merged commit c92f140 into openmainframeproject:master Dec 5, 2023
2 checks passed
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.

2 participants