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: