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

try 2

parent b84415d0
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ def write_config(file_content):
def main():
mac_address = get_mac()
parsed_mac = mac_address.replace(":", "")
parsed_mac = parsed_mac.replace("\n", "")
url_with_config = HTTP_SERVER_CONFIG_BASE_URL + parsed_mac + "/startup-config"
startup_config = get_config(url_with_config)
write_config(startup_config)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment