diff options
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-x | lavalab-gen.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index e814e5e..378f40c 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -437,6 +437,11 @@ def main(): if use_kvm: dockcomp_add_device(dockcomp, worker_name, "/dev/kvm:/dev/kvm") # board specific hacks + use_tap = False + if "tap" in board: + use_tap = board["tap"] + if use_tap: + dockcomp_add_device(dockcomp, worker_name, "/dev/net/tun:/dev/net/tun") if devicetype == "qemu" and not use_kvm: device_line += "{% set no_kvm = True %}\n" if "uart" in board: |