mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-24 12:11:52 +00:00
Fix RHEL osimport init script
This commit is contained in:
parent
404041e226
commit
e4bea785c3
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml
|
||||
ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \
|
||||
ln -s $1/images/pxeboot/initrd.img $1/boot/initramfs/distribution
|
||||
ln -s $1/images/pxeboot/initrd.img $2/boot/initramfs/distribution
|
||||
mkdir -p $2/boot/media/EFI/BOOT && \
|
||||
ln -s $1/EFI/BOOT/BOOTX64.EFI $1/1/EFI/BOOT/grubx64.efi $2/boot/media/EFI/BOOT/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user