mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
404041e226
This allows construction of remote media and httpboot payloads.
8 lines
240 B
Bash
8 lines
240 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/media/EFI/BOOT && \
|
|
ln -s $1/EFI/BOOT/* $2/boot/media/EFI/BOOT/
|
|
|