aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Capitani <[email protected]>2017-09-19 15:08:05 +0200
committerMarco Capitani <[email protected]>2017-09-19 15:08:05 +0200
commit1100426cd6b89a366321161abe473da6b61fefb5 (patch)
tree1960012b97e123e48744d066da5667b1396a6445
parentc14f1a95ff9691fc970c9af4988eb8a4d1d5a9ef (diff)
downloadrumba-1100426cd6b89a366321161abe473da6b61fefb5.tar.gz
rumba-1100426cd6b89a366321161abe473da6b61fefb5.zip
IRATI: added chmod for /dev/irati-ctrl
-rw-r--r--rumba/prototypes/irati.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index eebabc1..8d87f7b 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -162,6 +162,9 @@ class Experiment(mod.Experiment):
cmds = [self.sudo('hostname %(name)s' % format_args),
self.sudo('modprobe rina-irati-core'),
self.sudo('chmod a+rw /dev/irati'),
+ # The || true should be removed soon, but it's needed
+ # until we update the bitmucket repo.
+ self.sudo('chmod a+rw /dev/irati-ctrl || true'),
self.sudo('mv %(genfilesconf)s /etc' % format_args),
self.sudo('mv %(genfilesbin)s /usr/bin') % format_args,
self.sudo('chmod a+x /usr/bin/enroll.py') % format_args]