Linux系統的安裝(自動引導安裝、網路安裝、分割槽選擇)
Linux系統的安裝(自動引導安裝、網路安裝、分割槽選擇)
Cobbler配置
yuminstallhttpd -y
yuminstallcobblercobbler-webpykickstartdebmirror
需要解決以下依賴問題:
Vim/etc/cobbler/settings
cobbler get-loaders
6 : change 'disable' to 'no' in /etc/xinetd.d/rsync
vim /etc/debmirror.conf
cobbler sync
yum install -y dhcp
cobbler import --name="centos5-64"--path=/media/
cobbler profile add --name=centos-5-x64-x86_64-basic --distro=centos-5-x64-x86_64 --kickstart=/root/kickstart-ks.cfg
Web管理介面配置設定:
Kickstart配置檔案儲存位置
ls /var/lib/cobbler/kickstarts/
DEFAULT menu
PROMPT 0
MENU TITLE Cobbler |http://cobbler.github.io
TIMEOUT 200
TOTALTIMEOUT 6000
ONTIMEOUT local
LABEL local
MENULABEL (local)
MENU
LOCALBOOT-1
LABEL centos5-64-by-jerry-x86_64
kernel/p_w_picpaths/centos5-64-by-jerry-x86_64/vmlinuz
MENULABEL centos5-64-by-jerry-x86_64
appendinitrd=/p_w_picpaths/centos5-64-by-jerry-x86_64/initrd.img ksdevice=bootif lang=kssendmac textks=http://192.168.26.209/cblr/svc/op/ks/profile/centos5-64-by-jerry-x86_64
ipappend
LABEL jerry-diy
kernel/p_w_picpaths/centos-5-x64-x86_64/vmlinuz
MENULABEL jerry-diy
appendinitrd=/p_w_picpaths/centos-5-x64-x86_64/initrd.img ksdevice=bootif lang=kssendmac textks=http://192.168.26.209/cblr/svc/op/ks/profile/jerry-diy
ipappend2
LABEL testjerry
kernel/p_w_picpaths/centos-5-x64-x86_64/vmlinuz
MENULABEL testjerry
appendinitrd=/p_w_picpaths/centos-5-x64-x86_64/initrd.img ksdevice=bootif lang=kssendmac textks=http://192.168.26.209/cblr/svc/op/ks/profile/testjerry
安裝完成:
轉載於:https://blog.51cto.com/jdonghong/1883394