1default menu.c32 2 3#多网卡,其实centos7会自动处理,默认使用第一个网卡 4label centos76 5menu label ??? centos76 from ftp 6timeout 1000 7kernel centos76/isolinux/vmlinuz 8append initrd=centos76/isolinux/initrd.img method=ftp://192.168.143.1/centos76 ks=ftp://192.168.143.1/ks7.cfg 9 10#多网卡,默认网卡 11label centos76 12menu label special eth-name centos76 from ftp 13timeout 1000 14kernel centos76/isolinux/vmlinuz 15append initrd=centos76/isolinux/initrd.img method=ftp://192.168.143.1/centos76 ks=ftp://192.168.143.1/ks7.cfg ksdevice=ens32 16 17#多网卡,传统内核网卡 18label centos76 19menu label eth0 centos76 from ftp 20timeout 1000 21kernel centos76/isolinux/vmlinuz 22append initrd=centos76/isolinux/initrd.img method=ftp://192.168.143.1/centos76 ks=ftp://192.168.143.1/ks7.cfg net.ifnames=0 biosdevname=0 ksdevice=eth0 23 24 25#【多】网卡 26label rhel6 27menu label rhel6 from ftp 28kernel rhel610/isolinux/vmlinuz 29append initrd=rhel610/isolinux/initrd.img method=ftp://192.168.56.1/rhel610 ks=ftp://192.168.56.1/ks6.cfg ksdevice=eth0 30 31#单网卡 32label rhel6 33menu label rhel6 from ftp 34kernel rhel610/isolinux/vmlinuz 35append initrd=rhel610/isolinux/initrd.img method=ftp://192.168.56.1/rhel610 ks=ftp://192.168.56.1/ks6.cfg ksdevice=eth0 36 37auth 38 39install 40cdrom 41 42lang en_US.UTF8 43keyboard us 44timezone Asia/Shanghai 45 46#network --device=eth0 --bootproto=query 47 48clearpart --all --drives=sda 49zerombr 50autopart 51 52rootpw root 53 54bootloader 55#reboot 56halt 57 58%packages 59-@Base 60wget 61net-tools 62ftp 63telnet 64strace 65%end 66 67%post 68touch /root/jinsen-install.log 69chkconfig iptables off 70chkconfig ip6tables off 71chkconfig kdump off 72%end
PXE:kickstart配置文件:全自动安装centos、redhat 系统的配置
Stella981
2021-10-11
1073 0 0
点赞
收藏
评论区
加载中...