From 97ed25ee639dea321480ad74c9d01667dcc6de0a Mon Sep 17 00:00:00 2001
From: Neil Schark <neil-jocelyn.schark@stud.h-da.de>
Date: Thu, 8 Sep 2022 17:33:00 +0200
Subject: [PATCH] bootstrap again

---
 ztp-root/bootstrap/bootstrap | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ztp-root/bootstrap/bootstrap b/ztp-root/bootstrap/bootstrap
index eda15dd..132c78b 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)
 
-- 
GitLab