aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-06-25 16:08:21 +0200
committerDimitri Staessens <dimitri.staessens@ugent.be>2018-06-25 16:15:39 +0200
commitd6b62e3d1c0653b50443ab91062127a60c0bbfdc (patch)
tree2f9cc48bb0ec4956b84a5277d8dc888f021000f6
parentcd34f0b66e7981490bd50752abe68ea11481963c (diff)
downloadrumba-d6b62e3d1c0653b50443ab91062127a60c0bbfdc.tar.gz
rumba-d6b62e3d1c0653b50443ab91062127a60c0bbfdc.zip
prototypes: Fix syntax for starting irati ipcm
The redirection syntax was not fully portable between shells. Fixes #58
-rw-r--r--rumba/prototypes/irati.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index ec3e53d..3860d14 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -212,7 +212,8 @@ class Experiment(mod.Experiment):
self.sudo('modprobe shim-eth-vlan'),
self.sudo('modprobe normal-ipcp'),
self.sudo('ipcm -a \"%(ipcmcomps)s\" '
- '-c /etc/%(name)s.ipcm.conf -l %(verb)s &> /tmp/ipcmstart.log &'
+ '-c /etc/%(name)s.ipcm.conf -l %(verb)s '
+ '> /tmp/ipcmstart.log 2>&1 &'
% format_args)]
logger.info('Sending setup commands to node %s.', node.name)