summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJian Zhang <zhangjian.3032@bytedance.com>2022-12-13 11:49:38 +0300
committerEd Tanous <ed@tanous.net>2023-03-17 19:39:10 +0300
commitc251fe8155c3eb82a418e9f3f64415f38f0a7a21 (patch)
treeadc4e9755d69ec6111962689adc5b0b5e33b5bbe /scripts
parent28dd5ca15a3008e50e5046602464966720d6b5f3 (diff)
downloadbmcweb-c251fe8155c3eb82a418e9f3f64415f38f0a7a21.tar.xz
Fix cannot get NTPServers
When we have 2 or more netdevs, if eth0 configured the StaticNTPServers and eth1 not by default, the NTPServers will be empty. We could merge all the NTPServers from all the interfaces, and remove the duplicate ones(Already have). Limitations(not this patch): When setting the NTPServers, will set all the interfaces, cannot be set individually. Tested: Only config the eth0's NTPServers, keep eth1's NTPServers empty. ``` ~# curl -k -H "X-Auth-Token: $token" https://$bmc/redfish/v1/Managers/bmc/NetworkProtocol { ... "NTP": { "NTPServers": [ "fdbd:dc00::10:8:8:14", "fdbd:dc00::10:8:8:15", "fdbd:dc00::10:8:8:16", "10.8.8.14", "10.8.8.15", "10.8.8.16" ], "ProtocolEnabled": true }, } ``` Change-Id: Ie181bb117577bc46f87e714b87dcb7cd8f5145a8 Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions