From c069a24e2587bf7be8ebbb418c7e987dd8dc4930 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 9 Jul 2021 19:06:28 +0200 Subject: testbeds: Fix jfed support for recent CLI This updates jfed support for some recent changes in the CLI. Since the new CLI requires writing the jfed password to a text file, I added an option to set it in the experiment description too. It will still prompt if not set. There is also an option to enable/disable the bastion server, as there has been some changes to its login. --- rumba/prototypes/ouroboros.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rumba/prototypes/ouroboros.py') diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py index 58c8ac2..727a05c 100644 --- a/rumba/prototypes/ouroboros.py +++ b/rumba/prototypes/ouroboros.py @@ -170,7 +170,7 @@ class Experiment(mod.Experiment): fs_loc = '/tmp/prototype' - cmds = ["sudo apt-get install libprotobuf-c-dev --yes || true", + cmds = ["sudo DEBIAN_FRONTEND=noninteractive apt-get install libprotobuf-c-dev --yes || true", "sudo rm -r " + fs_loc + " || true", "git clone -b " + self.git_branch + " " + self.git_repo + \ " " + fs_loc, @@ -362,7 +362,6 @@ class Experiment(mod.Experiment): return d - def export_dif_bandwidth(self, filename, dif): f = open(filename, 'w') -- cgit v1.2.3