mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-07 12:06:00 +00:00
Fallback to other location for grub
This commit is contained in:
parent
a4b1f1d30a
commit
00e853130f
@ -4,5 +4,6 @@ ln -s $1/images/pxeboot/initrd.img $2/boot/initramfs/distribution && \
|
||||
ln -s $1/images/ignition.img $2/boot/initramfs/ignition.img && \
|
||||
mkdir -p $2/boot/efi/boot/ && \
|
||||
ln -s $1/images/pxeboot/rootfs.img $2/ && \
|
||||
mcopy -i $1/images/efiboot.img ::efi/redhat/grubx64.efi $2/boot/efi/boot/ && \
|
||||
mcopy -i $1/images/efiboot.img ::efi/boot/bootx64.efi $2/boot/efi/boot/
|
||||
(mcopy -i $1/images/efiboot.img ::efi/redhat/grubx64.efi $2/boot/efi/boot/ || \
|
||||
mcopy -i $1/images/efiboot.img ::efi/boot/grubx64.efi $2/boot/efi/boot/) && \
|
||||
mcopy -i $1/images/efiboot.img ::efi/boot/bootx64.efi $2/boot/efi/boot/
|
||||
|
Loading…
Reference in New Issue
Block a user