From cda0f439d37327c23068f8ea6add9eef15453edf Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 6 May 2020 15:55:31 -0400 Subject: [PATCH] Fix name replacement of Red Hat distributions --- confluent_osdeploy/el8/profiles/default/initprofile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8/profiles/default/initprofile.sh b/confluent_osdeploy/el8/profiles/default/initprofile.sh index d181235d..0f2f50af 100644 --- a/confluent_osdeploy/el8/profiles/default/initprofile.sh +++ b/confluent_osdeploy/el8/profiles/default/initprofile.sh @@ -1,5 +1,5 @@ #!/bin/sh -sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml +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 $2/boot/initramfs/distribution mkdir -p $2/boot/media/EFI/BOOT && \