From e4bea785c3001fec941cfda0251c5627c2df229a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 6 May 2020 15:31:29 -0400 Subject: [PATCH] Fix RHEL osimport init script --- confluent_osdeploy/el8/profiles/default/initprofile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8/profiles/default/initprofile.sh b/confluent_osdeploy/el8/profiles/default/initprofile.sh index 9d2637d5..d181235d 100644 --- a/confluent_osdeploy/el8/profiles/default/initprofile.sh +++ b/confluent_osdeploy/el8/profiles/default/initprofile.sh @@ -1,6 +1,7 @@ #!/bin/sh +sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ -ln -s $1/images/pxeboot/initrd.img $1/boot/initramfs/distribution +ln -s $1/images/pxeboot/initrd.img $2/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/