From e918121d9247e8da0312a95582ef240c282ff4bc Mon Sep 17 00:00:00 2001 From: xuweibj Date: Thu, 18 Apr 2019 21:57:56 -0400 Subject: [PATCH] enhance openbmc ntpservers output --- xCAT-openbmc-py/lib/python/agent/hwctl/openbmc_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-openbmc-py/lib/python/agent/hwctl/openbmc_client.py b/xCAT-openbmc-py/lib/python/agent/hwctl/openbmc_client.py index 06631bfce..4f1a65b20 100644 --- a/xCAT-openbmc-py/lib/python/agent/hwctl/openbmc_client.py +++ b/xCAT-openbmc-py/lib/python/agent/hwctl/openbmc_client.py @@ -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)