diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2017-05-10 17:43:28 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2017-05-10 17:43:28 +0200 |
commit | 7bab86ff1683f32d739f1da9565f83bef5ff7e3b (patch) | |
tree | 3257830c593a4cc1a95ba4f987ff4f3978328b10 /rumba/prototypes/irati.py | |
parent | da965f80da37c2b775e1e62e469589a3be05da30 (diff) | |
download | rumba-7bab86ff1683f32d739f1da9565f83bef5ff7e3b.tar.gz rumba-7bab86ff1683f32d739f1da9565f83bef5ff7e3b.zip |
jfed-irati small fixes for compatibility
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r-- | rumba/prototypes/irati.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index b2f54d9..c630a94 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -21,8 +21,6 @@ import copy import json -import subprocess - import os import time @@ -69,14 +67,17 @@ class Experiment(mod.Experiment): def install(self): """Installs IRATI on the nodes.""" - cmds = list() - - cmds.append("sudo apt-get update") - cmds.append("sudo apt-get install g++ gcc " - "protobuf-compiler libprotobuf-dev git --yes") - cmds.append("sudo rm -rf ~/irati") - cmds.append("cd && git clone https://github.com/IRATI/stack irati") - cmds.append("cd ~/irati && sudo ./install-from-scratch") + cmds = ["sudo apt-get update", + "export https_proxy=\"https://proxy.atlantis.ugent.be:8080\"; " + "sudo apt-get install g++ gcc " + "protobuf-compiler libprotobuf-dev git --yes", + "sudo rm -rf ~/irati", + "cd ~; " + "export https_proxy=\"https://proxy.atlantis.ugent.be:8080\"; " + "git clone https://github.com/IRATI/stack irati", + "cd ~/irati; git checkout arcfire", + "cd ~/irati; cp linux/config-IRATI linux/.config", + "cd ~/irati && sudo ./install-from-scratch"] for node in self.nodes: ssh.execute_commands(self.testbed, node.ssh_config, |