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:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user