This commit is contained in:
parent
351c12eed1
commit
4aef2d63ef
2 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,7 @@ def parse_debian(content):
|
|||
if current_section:
|
||||
result[current_section] += line + "\n"
|
||||
for section in result:
|
||||
if section in ["services","routes", "docker"]:
|
||||
if section in ["resolvconf","services","routes", "docker"]:
|
||||
result[section] = loads(result[section])
|
||||
result["ip"] = parse_ip(result["ip"])
|
||||
result["os"] = loads(result["version"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue