diff --git a/ztp-root/bootstrap/bootstrap b/ztp-root/bootstrap/bootstrap index eda15ddd4506458d8806d8e957446ab83b7ac651..132c78b193ec68dda56e1781b3a1d4ce2fed8418 100644 --- a/ztp-root/bootstrap/bootstrap +++ b/ztp-root/bootstrap/bootstrap @@ -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)