From 49c09c68da6b99c1c3b9b61df5547fbaf5ada712 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Wed, 31 May 2017 17:31:02 +0200 Subject: jfed-irati: fixes after rumba image --- rumba/prototypes/irati.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'rumba/prototypes/irati.py') diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index c630a94..7004831 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -67,17 +67,19 @@ class Experiment(mod.Experiment): def install(self): """Installs IRATI on the nodes.""" - cmds = ["sudo apt-get update", + cmds = [self.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", + + self.sudo("apt-get install g++ gcc " + "protobuf-compiler libprotobuf-dev git --yes" + "pkg-config " + "libnl-3-dev libnl-genl-3-dev"), + self.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"] + + "git clone https://github.com/IRATI/stack irati", + "cd ~/irati && git checkout arcfire", + "cd ~/irati && " + + self.sudo("./install-from-scratch")] for node in self.nodes: ssh.execute_commands(self.testbed, node.ssh_config, -- cgit v1.2.3