2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00
confluent/confluent_osdeploy/ubuntu20.04/profiles/default/initprofile.sh
Jarrod Johnson 4f2d4a7709 Move media content out of subdirectory
This paves the way for a consistent organization of boot
media
and network based boot.
2020-05-07 09:32:11 -04:00

8 lines
228 B
Bash

#!/bin/sh
sed -i s/ubuntu/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/