Update 'freenas_network_unlock.py'

This commit is contained in:
2019-11-09 21:19:07 -05:00
parent f7b9eee088
commit cdbacd0991

View File

@@ -2,12 +2,10 @@ import requests # For the api calls
import platform # For getting the operating system name
import subprocess # For executing a shell command
import yaml # For parsing the yaml config file
import config # configuration file
with open("config.yml", 'r') as ymlfile:
cfg = yaml.safe_load(ymlfile)
print(config)
for section in cfg:
print(section)
exit()
def ping(host):