mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 19:40:12 +00:00
fa823510b6
Give it a nicer looking automatic label when Oracle Linux is detected.
8 lines
337 B
Bash
8 lines
337 B
Bash
#!/bin/sh
|
|
sed -i 's/centos/CentOS/; s/rhel/Red Hat Enterprise Linux/; s/oraclelinux/Oracle 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/efi/boot && \
|
|
ln -s $1/EFI/BOOT/BOOTX64.EFI $1/EFI/BOOT/grubx64.efi $2/boot/efi/boot/
|
|
|