diff options
author | Kevin Hilman <khilman@baylibre.com> | 2019-11-22 09:30:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 09:30:23 -0800 |
commit | 777f0d0c40a2325840a3d2fa3a5a62d984719d1b (patch) | |
tree | 91c62df3d911212f026c16ad0d94bf8387f99f54 | |
parent | 04ce3e542a0d2d212a29621ae047096951dd0f51 (diff) | |
parent | 29c9cc629f6f7147c4ef3693b1e33337922a6704 (diff) |
Merge pull request #108 from montjoie/install-pkg-nbd
Install xnbd-server
-rwxr-xr-x | lavalab-gen.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index 6b0b2a0..875d314 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -545,6 +545,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"] |