本文共 2752 字,大约阅读时间需要 9 分钟。
角色 ip地址dhcp+ftp服务器 192.168.8.81客户端 -
default-lease-time 21600;max-lease-time 43200;log-facility local7;subnet 192.168.8.0 netmask 255.255.255.0 {range 192.168.8.10 192.168.8.100;option routers 192.168.8.1;next-server 192.168.8.81;filename "/pxelinux.0";}
anonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022anon_upload_enable=YESanon_mkdir_write_enable=YESdirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESxferlog_std_format=YESlisten=YESpam_service_name=vsftpduserlist_enable=YEStcp_wrappers=YES
service tftp{ socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /var/lib/tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4}
default 1prompt 1timeout 60display boot.msgmenu background splash.jpgmenu title Welcome to CentOS 7menu color border 0 #ffffffff #00000000menu color sel 7 #ffffffff #ff000000menu color title 0 #ffffffff #00000000menu color tabmsg 0 #ffffffff #00000000menu color unsel 0 #ffffffff #00000000menu color hotsel 0 #ff000000 #ffffffffmenu color hotkey 7 #ffffffff #ff000000menu color scrollbar 0 #ffffffff #00000000label 1kernel /vmlinuzappend initrd=initrd.img ramdisk_size=9216 ks=ftp://192.168.8.81/pub/centos/ks.cfg
url --url=ftp://192.168.8.81/pub/centos/
SELINUX=disabledSELINUXTYPE=targeted 本文转自 Lee_吉 博客,原文链接: http://blog.51cto.com/12173069/2051454 如需转载请自行联系原作者