mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
b2feb62d8a
Ubuntu 22.04 makes some changes, notably removing the custom-installation hooks. Change to injecting our modifications more directly to where the custom-installation hooks used to be.
8 lines
243 B
Bash
8 lines
243 B
Bash
#!/bin/sh
|
|
sed -i 's/label: ubuntu/label: Ubuntu/' $2/profile.yaml && \
|
|
ln -s $1/casper/vmlinuz $2/boot/kernel && \
|
|
ln -s $1/casper/initrd $2/boot/initramfs/distribution && \
|
|
mkdir -p $2/boot/efi/boot && \
|
|
ln -s $1/EFI/boot/* $2/boot/efi/boot
|
|
|