contrib: Fix redhat exchange-bmc-os-info script
There was a bug in the match rule when looking for the BMC's IP address
Resolves #46
Signed-off-by: zhangzikang zhangzikang@kylinos.cn
(deleted):master into master
contrib: Fix redhat exchange-bmc-os-info script
There was a bug in the match rule when looking for the BMC's IP address
Resolves #46
Signed-off-by: zhangzikang zhangzikang@kylinos.cn
@ -202,2 +202,2 @@
[ $(${IPMI_TOOL} lan print ${CHANNEL} 2>/dev/null \
| grep -q "^Set") ] || break
${IPMI_TOOL} lan print ${CHANNEL} 2>/dev/null \
| grep -q "^IP Address .*:" && break
I suggest combining this check with assigning TMP_IPv4 that takes place below. That would allow us to get rid of duplicate calls to ipmitool.
Thank you for your suggestion. I have completed the modifications.
Also, please change the commit log to:
contrib: Fix redhat exchange-bmc-os-info script
There was a bug in the match rule when looking for the
BMC's IP address
Resolves https://codeberg.org/IPMITool/ipmitool/issues/46
Signed-off-by: ...
da0dc18750
to edc777e688
edc777e688
to 7f025f0d04
@AlexanderAmelkin I have completed the modifications according to your suggestions, please review. Thank you very much.
@AlexanderAmelkin Please assist in reviewing. Thank you.
Please rebase the branch to the current master branch, don't bring merge commits into the branch of this PR
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?