kickstart

           Kickstart

這是個人筆記。

首先安裝kickstart

yum install system-config-kickstart

命令行輸入:system-config-kickstart

在圖形界面配置anaconda 保存ks.cfg

在鏡像中提取isolinux製作成鏡像

mkisofs -R -J -T -v --no-emul-boot--boot-load-size 4 --boot-info-table -V "CentOS 6.6 X86_64 boot disk"-b isolinux/isolinux.bin(指明啓動文件) -c isolinux/boot.cat -o /root/boot.iso cdrom/(指明查看文件)

將製作好的光盤放入光驅

啓動將進入boot的命令提示符,輸入linuxip=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx gateway=xxx.xxx.xxx.xxx  ks=ks.cfg路徑

指明獲取kickstart 文件的路徑:

                                     ks=

                                               DVDdrive  ks=cdrom:/path/to/kickstart_file

                                               HTTPServer ks=http://server_ip:port/path/to/kickstart_file

                                               HTTPSServer ks=https://server_ip:port/path/to/kickstart_file

                                               FTPServer  ks=ftp://serverip:port/path/to/kickstart_file

                                               NFSServer  ks=nfs:server_ip:/path/to/kickstart_file

 

 

wKioL1U3oa_SaZIAAAGVbImoJ7I813.jpg

wKioL1U3oa-CuTCqAABmn2Q64CM239.jpg

wKiom1U3oFLzNQhcAAFnnj0uh2c961.jpg

wKioL1U3obCSBHK9AACwLLFB-lg557.jpg


 

 

 

 

                           

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章