diff options
author | Jian Zhang <zhangjian.3032@bytedance.com> | 2022-12-13 11:49:38 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-03-17 19:39:10 +0300 |
commit | c251fe8155c3eb82a418e9f3f64415f38f0a7a21 (patch) | |
tree | adc4e9755d69ec6111962689adc5b0b5e33b5bbe /subprojects/packagefiles | |
parent | 28dd5ca15a3008e50e5046602464966720d6b5f3 (diff) | |
download | bmcweb-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 'subprojects/packagefiles')
0 files changed, 0 insertions, 0 deletions