mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 11:12:04 +00:00
enhance openbmc ntpservers output
This commit is contained in:
parent
f25b6b1efb
commit
e918121d92
@ -930,7 +930,7 @@ class OpenBMCRest(object):
|
||||
utils.update2Ddict(netinfo, nicid, "vlanid", info.get("Id", "Disable"))
|
||||
utils.update2Ddict(netinfo, nicid, "mac", info["MACAddress"])
|
||||
ntpservers = None
|
||||
tmp_ntpservers = ''.join(info["NTPServers"])
|
||||
tmp_ntpservers = ','.join(info["NTPServers"])
|
||||
if tmp_ntpservers:
|
||||
ntpservers = tmp_ntpservers
|
||||
utils.update2Ddict(netinfo, nicid, "ntpservers", ntpservers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user