From 1100426cd6b89a366321161abe473da6b61fefb5 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Tue, 19 Sep 2017 15:08:05 +0200 Subject: IRATI: added chmod for /dev/irati-ctrl --- rumba/prototypes/irati.py | 3 +++ 1 file changed, 3 insertions(+) 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] -- cgit v1.2.3