2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2026-06-09 13:35:45 +00:00

feat: Add grub and grub-efi boot support for Rocky and AlmaLinux 9+

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2026-04-29 17:06:10 +02:00
parent e77827df6c
commit 58739c9f1b
4 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ RUN set -e; \
kver="$(basename "$dir")"; \
initrd="${dir}/initrd"; \
[ -e "$initrd" ] || continue; \
ln -sf "${linux#/boot/}" "/boot/vmlinuz-${kver}"; \
ln -sf "${initrd#/boot/}" "/boot/initramfs-${kver}.img"; \
mv "${linux}" "/boot/vmlinuz-${kver}"; \
mv "${initrd}" "/boot/initramfs-${kver}.img"; \
done
{{- else }}
RUN cd /boot && \