Commit 3bec1f37 authored by Emre Ahmetik's avatar Emre Ahmetik

IP adress for container

parent 62781c2d
......@@ -617,15 +617,9 @@
"",
"random_name = 'AA_'+''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(20))",
"'''",
"try:",
" IP = os.environ['IP']",
" ",
"except:",
" IP = '172.17.0.42'",
"try:",
" PORT = int(os.environ['PORT'])",
"except:",
" PORT = 22",
"kube_namespace = os.environ.get('KUBE_NAMESPACE','default')",
"IP = "sisso-img.%s.svc.cluster.local" %kube_namespace",
"PORT = 22",
"''' ",
"try:",
" IP = os.environ['OPENMPIHOST'] ",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment