Cobbler 2.9+EFI自动化部署CentOS系统

Cobbler 2.9+EFI自动化部署CentOS系统:

Cobbler 2.9安装及CentOS iso导入略

AD的DHCP设置启动文件为grub/BOOTX64.efi(不区分大小写)

rsync -av /srv/www/cobbler/distro_mirror/CentOS65-x86_64/EFI/BOOT/BOOTX64.efi /var/lib/tftpboot/grub/

mkdir /var/www/html/ks

rsync -av centos65_gpt_efi.ks /var/www/html/ks/

注:记得ks文件里加/boot/efi分区

vi /var/lib/tftpboot/grub/efidefault

default=0
timeout=20

title 1. CentOS65-gpt-efi
root (nd)
kernel /images/CentOS65-x86_64/vmlinuz kssendmac ks=http://10.0.0.2/ks/centos65_gpt_efi.ks
initrd /images/CentOS65-x86_64/initrd.img
:wq

客户端开机F12网络启动即可

转载于:https://blog.51cto.com/yangzhiming/2055958

你可能感兴趣的:(Cobbler 2.9+EFI自动化部署CentOS系统)