标签:linux系统的安装(自动引导安装、网络安装、分区选择)cobbler
Linux系统的安装(自动引导安装、网络安装、分区选择)
Cobbler配置
yum install httpd -y
yum install cobbler cobbler-web pykickstart debmirror
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
MENU LABEL (local)
MENU DEFAULT
LOCALBOOT -1
LABEL centos5-64-by-jerry-x86_64
kernel /images/centos5-64-by-jerry-x86_64/vmlinuz
MENU LABEL centos5-64-by-jerry-x86_64
append initrd=/images/centos5-64-by-jerry-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://192.168.26.209/cblr/svc/op/ks/profile/centos5-64-by-jerry-x86_64
ipappend 2
LABEL jerry-diy
kernel /images/centos-5-x64-x86_64/vmlinuz
MENU LABEL jerry-diy
append initrd=/images/centos-5-x64-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://192.168.26.209/cblr/svc/op/ks/profile/jerry-diy
ipappend 2
LABEL testjerry
kernel /images/centos-5-x64-x86_64/vmlinuz
MENU LABEL testjerry
append initrd=/images/centos-5-x64-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://192.168.26.209/cblr/svc/op/ks/profile/testjerry
安装完成:
本文出自 “在路上” 博客,请务必保留此出处http://jdonghong.blog.51cto.com/3473478/1883394
标签:linux系统的安装(自动引导安装、网络安装、分区选择)cobbler
原文地址:http://jdonghong.blog.51cto.com/3473478/1883394