summaryrefslogtreecommitdiffstats
path: root/lava-slave/Dockerfile
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2019-02-15 11:16:19 -0800
committerGitHub <noreply@github.com>2019-02-15 11:16:19 -0800
commit31d0a888ee944ac0f8c0418dff942adfde448ca7 (patch)
treec46f24f174d3ac7f5a53e1ac0801c1c629ce02bd /lava-slave/Dockerfile
parenta0b84c74351f55f252b4de81dc2dc0a89e1163b8 (diff)
parent6e0bb66d11cc8cd21bedf43c245b6480fdfafe27 (diff)
Merge pull request #84 from montjoie/pxe
lava-slave: support PXE boot
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/