From 0c5fa6a11b1c540b1ffaa8fdcddb54b1bb2fe6e5 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 13 Jun 2019 16:38:39 +0200 Subject: Install PXE stuff at runtime When /var/lib/lava/dispatcher/tmp is a volume (like when using NFS), it masks all PXE stuff installed during the build. For preventing this, this patchs made this data installed at runtime. --- lava-slave/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lava-slave/Dockerfile') diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile index d6375f2..5fdae2f 100644 --- a/lava-slave/Dockerfile +++ b/lava-slave/Dockerfile @@ -41,8 +41,7 @@ RUN apt-get -y install lavacli RUN if [ $(uname -m) != amd64 ]; then dpkg --add-architecture amd64 && apt-get update; fi RUN apt-get -y install grub-efi-amd64-bin:amd64 RUN if [ $(uname -m) != amd64 ]; then dpkg --remove architecture amd64 && apt-get update; fi -RUN cd /var/lib/lava/dispatcher/tmp && grub-mknetdir --net-directory=. -COPY grub.cfg /var/lib/lava/dispatcher/tmp/boot/grub/ +COPY grub.cfg /root/ COPY default/* /etc/default/ -- cgit 1.2.3-korg