aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/ouroboros.py
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-07-09 19:06:28 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2021-07-09 19:09:59 +0200
commitc069a24e2587bf7be8ebbb418c7e987dd8dc4930 (patch)
treeaaf1100b74e45957e2ae048744e30854ea780f5e /rumba/prototypes/ouroboros.py
parent5a5f1efdbe985bc5a6312217ef531a68f6a85fa7 (diff)
downloadrumba-c069a24e2587bf7be8ebbb418c7e987dd8dc4930.tar.gz
rumba-c069a24e2587bf7be8ebbb418c7e987dd8dc4930.zip
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.
Diffstat (limited to 'rumba/prototypes/ouroboros.py')
-rw-r--r--rumba/prototypes/ouroboros.py3
1 files changed, 1 insertions, 2 deletions
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')