From 5fffe4259af6377f2ea10b40a7b8a04c5655d93a Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 16 Oct 2019 15:45:54 +0200 Subject: Enhance documentation This patch enhance a bit the documentation - On the reason of the install of nfs-kernel-server - On how to upgrade --- lavalab-gen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lavalab-gen.py') diff --git a/lavalab-gen.py b/lavalab-gen.py index d37eb90..6b0b2a0 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -556,6 +556,8 @@ def main(): if use_nfs: dockcomp["services"][worker_name]["volumes"].append("/var/lib/lava/dispatcher/tmp:/var/lib/lava/dispatcher/tmp") fp = open("%s/scripts/extra_actions" % workerdir, "a") + # LAVA check if this package is installed when doing NFS jobs + # So we need to install it, even if it is not used fp.write("apt-get -y install nfs-kernel-server\n") fp.close() os.chmod("%s/scripts/extra_actions" % workerdir, 0o755) -- cgit 1.2.3-korg