diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-13 18:45:40 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-13 18:45:40 +0100 |
commit | 16bfd75e0318304727433363217510310787756e (patch) | |
tree | ec2f0991b7cbb6e56f447e5fdcc9b728d948af26 /rumba/prototypes/irati.py | |
parent | c078443e1ed1569fd91fd36318e084cac540e80a (diff) | |
download | rumba-16bfd75e0318304727433363217510310787756e.tar.gz rumba-16bfd75e0318304727433363217510310787756e.zip |
prototypes: modprobe 8021q before running IRATI
This inserts the 802.1Q VLAN module into the kernel to make sure it is
available when creating VLANs for the IRATI shim DIF.
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r-- | rumba/prototypes/irati.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index 72d4b4e..f679b69 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -81,7 +81,8 @@ class Experiment(mod.Experiment): def install(self): """Installs IRATI on the nodes.""" - cmds = [self.sudo("apt-get update"), + cmds = [self.sudo("modprobe 8021q"), + self.sudo("apt-get update"), self.sudo("apt-get install g++ gcc libtool " "linux-headers-$(uname -r) autoconf automake " "protobuf-compiler libprotobuf-dev " |