diff --git a/freenas_network_unlock.py b/freenas_network_unlock.py index c345112..831791a 100644 --- a/freenas_network_unlock.py +++ b/freenas_network_unlock.py @@ -6,7 +6,8 @@ import yaml # For parsing the yaml config file with open("config.yml", 'r') as ymlfile: cfg = yaml.safe_load(ymlfile) -print(cfg) +for section in cfg: + print(section['pools']) exit() def ping(host):