2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 01:53:28 +00:00
confluent/confluent_osdeploy/el8/profiles/default/initprofile.sh

8 lines
321 B
Bash
Raw Normal View History

#!/bin/sh
2020-05-06 19:31:29 +00:00
sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml
ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \
2020-05-06 19:31:29 +00:00
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/