From f673240abc9a8602ae08095358d37750aa7143f0 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Mon, 19 Mar 2018 09:12:36 +0100 Subject: lx-trainer.img: force nfs server to version 2 In order for the qemu arm vm's to nfs root out-of-the-box, either the client must specify v3 or the server must restrict itself to version 2. Rather than expecting special arguments from the client, force the lx-trainer image to use nfs server version 2. Signed-off-by: John Ogness --- lx-trainer-vm/lx-trainer-vm.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lx-trainer-vm') diff --git a/lx-trainer-vm/lx-trainer-vm.xml b/lx-trainer-vm/lx-trainer-vm.xml index 201a0b5..b0a5910 100644 --- a/lx-trainer-vm/lx-trainer-vm.xml +++ b/lx-trainer-vm/lx-trainer-vm.xml @@ -112,6 +112,8 @@ echo 'GRUB_GFXPAYLOAD_LINUX=text' | tee -a /etc/default/grub sed -i -e 's/security=tomoyo/security=no-tomoyo/' /etc/default/grub + + sed -i -e 's/RPCNFSDCOUNT=8/RPCNFSDCOUNT="8 --nfs-version 2"/' /etc/default/nfs-kernel-server echo 'Europe/Berlin' | tee /etc/timezone cp -f /usr/share/zoneinfo/Europe/Berlin /etc/localtime -- cgit v1.2.3