summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index ac094c7..0c7f726 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -550,6 +550,10 @@ def main():
use_nbd = worker["use_nbd"]
if use_nbd:
dockcomp["services"][name]["ports"].append("61950-62000:61950-62000")
+ fp = open("%s/scripts/extra_actions" % workerdir, "a")
+ fp.write("apt-get -y install xnbd-server\n")
+ fp.close()
+ os.chmod("%s/scripts/extra_actions" % workerdir, 0o755)
use_overlay_server = True
if "use_overlay_server" in worker:
use_overlay_server = worker["use_overlay_server"]