Centos 5.5 X86_64实战KickStart自动化安装
|
[root@DZ-03 ~]# cp /root/ks.cfg /tftpboot/ks/ [root@DZ-03 ~]# chmod 777 /tftpboot/pxelinux.cfg/default [root@DZ-03 ~]# vim /tftpboot/pxelinux.cfg/default #打开配置文件,更改。 default linux #更改成ks。 prompt 1 timeout 600 #引导安装的超时时间改成6秒即可。 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg label linux kernel vmlinuz append initrd=initrd.img label text kernel vmlinuz append initrd=initrd.img text label ks kernel vmlinuz append ks=nfs:192.168.1.20:/tftpboot/ks/ks.cfg initrd=initrd.img #添加ks路径 append ks initrd=initrd.img #把这行用#号注释掉。 label local localboot 1 label memtest86 kernel memtest append – 1. 关闭防火墙和selinux [root@DZ-03 ~]# /etc/init.d/iptables stop [root@DZ-03 ~]# setenforce 0 2. 最后添加一台新的linux主机来测试,测试结果如下:
(编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |




