summaryrefslogtreecommitdiff
path: root/os/platforms/v2/Dockerfile.part
diff options
context:
space:
mode:
Diffstat (limited to 'os/platforms/v2/Dockerfile.part')
-rw-r--r--os/platforms/v2/Dockerfile.part11
1 files changed, 11 insertions, 0 deletions
diff --git a/os/platforms/v2/Dockerfile.part b/os/platforms/v2/Dockerfile.part
new file mode 100644
index 00000000..2e689418
--- /dev/null
+++ b/os/platforms/v2/Dockerfile.part
@@ -0,0 +1,11 @@
+RUN pkg-install \
+ dkms \
+ tc358743-dkms
+
+RUN sed -i -e "s/rootwait/cma=128M rootwait/g" /boot/cmdline.txt
+
+COPY stages/pikvm-v2/config.txt /boot/
+COPY stages/pikvm-v2/udev.rules /etc/udev/rules.d/pikvm.rules
+COPY stages/pikvm-v2/modules.load /etc/modules-load.d/pikvm.conf
+
+RUN cp /usr/share/kvmd/configs/kvmd/v2.yaml /etc/kvmd.yaml