summaryrefslogtreecommitdiff
path: root/os/platforms/v2/Dockerfile.part
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-09-26 02:11:23 +0300
committerDevaev Maxim <[email protected]>2018-09-26 02:11:23 +0300
commit940989b6e9a3fe31bd236e4bed96e1d4778a403b (patch)
tree0ed5679b56b198db88b27390b92e29019cd4ab6f /os/platforms/v2/Dockerfile.part
parent6e9a3222ce566f6430caad541c2695255cb06d7c (diff)
v2 beta
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