2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-05 13:32:12 +00:00
Jarrod Johnson 404041e226 Bring over disk boot content
This allows construction of remote media and httpboot payloads.
2020-05-06 14:33:45 -04:00

6 lines
255 B
Bash

#!/bin/sh
ln -s $1/1/boot/x86_64/loader/linux $2/boot/kernel && \
ln -s $1/1/boot/x86_64/loader/initrd $2/boot/initramfs/distribution && \
mkdir -p $2/boot/media/EFI/BOOT && \
ln -s $1/1/EFI/BOOT/bootx64.efi $1/1/EFI/BOOT/grub.efi $2/boot/media/EFI/BOOT/