Commit d4465b9d authored by Michael Wimmer's avatar Michael Wimmer
Browse files

replace wrong ip address in json file

parent 539ec2a8
......@@ -345,6 +345,19 @@ class IPyCluster:
raise RuntimeError("Failed to copy the client's json "
"file to the local machine.")
# for some reason, the current (May 2015) cluster installation
# has the local ( IP address in the json file.
# This needs to be replaced by the external IP
rcode =["sed", "-i",
self.profiledir +
if rcode:
raise RuntimeError("Failed to write proper IP address to "
"json file " + self.profiledir +
"/ipcontroller-client.json .")
self._client = Client(self.profiledir +
Supports Markdown
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