mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	enhance openbmc ntpservers output
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user