summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lx-trainer-vm/lx-trainer-vm.xml2
1 files changed, 2 insertions, 0 deletions
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 @@
<command>echo 'GRUB_GFXPAYLOAD_LINUX=text' | tee -a /etc/default/grub</command>
<!-- disable tomoyo or else the system won't boot -->
<command>sed -i -e 's/security=tomoyo/security=no-tomoyo/' /etc/default/grub</command>
+ <!-- force nfsver 2 for nfsboot via qemu -->
+ <command>sed -i -e 's/RPCNFSDCOUNT=8/RPCNFSDCOUNT="8 --nfs-version 2"/' /etc/default/nfs-kernel-server</command>
<!-- setup german timezone, locale, keyboard -->
<command>echo 'Europe/Berlin' | tee /etc/timezone</command>
<command>cp -f /usr/share/zoneinfo/Europe/Berlin /etc/localtime</command>