diff --git a/confluent_osdeploy/el8/profiles/default/initprofile.sh b/confluent_osdeploy/el8/profiles/default/initprofile.sh index b96eb150..9d2637d5 100644 --- a/confluent_osdeploy/el8/profiles/default/initprofile.sh +++ b/confluent_osdeploy/el8/profiles/default/initprofile.sh @@ -1,4 +1,6 @@ #!/bin/sh ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ ln -s $1/images/pxeboot/initrd.img $1/boot/initramfs/distribution +mkdir -p $2/boot/media/EFI/BOOT && \ +ln -s $1/EFI/BOOT/BOOTX64.EFI $1/1/EFI/BOOT/grubx64.efi $2/boot/media/EFI/BOOT/ diff --git a/confluent_osdeploy/suse15/profiles/default/initprofile.sh b/confluent_osdeploy/suse15/profiles/default/initprofile.sh index dd8cdd8c..110fca60 100644 --- a/confluent_osdeploy/suse15/profiles/default/initprofile.sh +++ b/confluent_osdeploy/suse15/profiles/default/initprofile.sh @@ -1,3 +1,5 @@ #!/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 +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/ diff --git a/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh b/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh index 5d493bd4..2affa063 100644 --- a/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh +++ b/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh @@ -1,3 +1,7 @@ #!/bin/sh +sed -i s/ubuntu/Ubuntu/ $2/profile.yaml && \ ln -s $1/casper/vmlinuz $2/boot/kernel && \ -ln -s $1/casper/initrd $2/boot/initramfs/distribution +ln -s $1/casper/initrd $2/boot/initramfs/distribution && \ +mkdir -p $2/boot/media/EFI/BOOT && \ +ln -s $1/EFI/BOOT/* $2/boot/media/EFI/BOOT/ +