Update 'freenas_network_unlock.py'
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user