Skip to content
Snippets Groups Projects
Commit 97ed25ee authored by Neil Schark's avatar Neil Schark
Browse files

bootstrap again

parent 39f2186c
No related branches found
No related tags found
No related merge requests found
......@@ -14,12 +14,10 @@ def get_mac():
def get_config(url):
response = requests.get(url)
file = response.text
return
content = response.text
return content
def write_config(file_content):
print(type(file_content))
print(file_content)
with open('/mnt/flash/startup-config', 'w') as file:
file.write(file_content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment