summaryrefslogtreecommitdiffstats
path: root/lava-slave/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'lava-slave/Dockerfile')
-rw-r--r--lava-slave/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index 7cb607b..32a76b0 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -34,6 +34,11 @@ RUN apt-get update
RUN apt-get -y install lavacli
+# PXE stuff
+RUN apt-get -y install grub-efi-amd64-bin
+RUN cd /var/lib/lava/dispatcher/tmp && grub-mknetdir --net-directory=.
+COPY grub.cfg /var/lib/lava/dispatcher/tmp/boot/grub/
+
COPY default/* /etc/default/
COPY phyhostname /root/