diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-01-07 15:56:33 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2019-02-15 15:11:26 +0100 |
commit | 6e0bb66d11cc8cd21bedf43c245b6480fdfafe27 (patch) | |
tree | c46f24f174d3ac7f5a53e1ac0801c1c629ce02bd /lava-slave/Dockerfile | |
parent | a0b84c74351f55f252b4de81dc2dc0a89e1163b8 (diff) |
lava-slave: support PXE boot
This patch adds support for booting from PXE
Diffstat (limited to 'lava-slave/Dockerfile')
-rw-r--r-- | lava-slave/Dockerfile | 5 |
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/ |