Update 'freenas_network_unlock.py'

This commit is contained in:
2019-11-09 21:02:51 -05:00
parent 320fafdb98
commit caff3ddfb6

View File

@@ -6,8 +6,7 @@ import yaml # For parsing the yaml config file
with open("config.yml", 'r') as ymlfile: with open("config.yml", 'r') as ymlfile:
cfg = yaml.safe_load(ymlfile) cfg = yaml.safe_load(ymlfile)
for section in cfg: print(cfg)
print(section[hostname])
exit() exit()
def ping(host): def ping(host):