mise a jour
This commit is contained in:
parent
6dcd4bc0aa
commit
36f98e2831
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue