From 36f98e2831bc981ff106fe11d26c4a935b374358 Mon Sep 17 00:00:00 2001 From: chabisik Date: Sat, 2 Jan 2021 14:45:00 +0100 Subject: [PATCH] mise a jour --- Dockerfiles/forContainerNet/device/bootstrap_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/forContainerNet/device/bootstrap_client.py b/Dockerfiles/forContainerNet/device/bootstrap_client.py index 92319b2..d2f06a7 100755 --- a/Dockerfiles/forContainerNet/device/bootstrap_client.py +++ b/Dockerfiles/forContainerNet/device/bootstrap_client.py @@ -9,7 +9,7 @@ BOOTSTRAP_SERVER_ADDRESS = '10.10.10.10:5555' def retrieve_config(): my_json_config = {"verdict":"oops"} - my_ip = str(subprocess.check_output("sleep $((6 + RANDOM % 10)) && echo $MY_IP", shell=True)).rstrip() + my_ip = str(subprocess.check_output("echo $MY_IP", shell=True)).rstrip() print("MY_IP : %s"%(my_ip)) while my_json_config["verdict"] != "yes": try: