2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-28 12:29:40 +00:00
confluent/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh

8 lines
243 B
Bash
Raw Normal View History

#!/bin/sh
2020-05-07 16:13:44 +00:00
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