
14 Oct
2020
14 Oct
'20
10 a.m.
On Wed, Oct 14, 2020 at 09:04:49AM +0800, Zhang Yu wrote:
On Tue, Oct 13, 2020 at 08:09:18PM +0800, Wu Fengguang wrote:
+get_ipmi_ip() +{ + echo "ipmi_ip: $(ipmitool lan print |grep -E "IP Address\s*:" | awk '{print $4}')"
I suppose some few machines won't have ipmi_ip. So let's check if ipmitool returns error or empty, and only add the field otherwise?
Ok, good idea. i'll do this
the ipmi NIC always have a ip, 192.168.2.100 is default. I think we can test while BMC in reboot. Thanks, Dewan