赵老师,能否介绍下cobbler的kickstart模块的一些常配参数
赵老师,能否介绍下cobbler的kickstart模块的一些常配参数。
有一些问题想咨询下
1.环境
系统版本centos 6.6
cobbler版本:2.6.9
2.问题:
我的kickstart配置如下:
[code]# kickstart template for Fedora 8 and later.
# (includes %end blocks)
# do not use with earlier distros
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart profile, include them here.
$yum_repo_stanza
# Network information
network --onboot yes --device eth0 --bootproto=static --ip=192.168.222.222 --netmask=255.255.255.0 --gateway=192.168.222.1
$SNIPPET('network_config')
#Partition clearing information
clearpart --all --initlabel
part /boot/efi --fstype=efi --size 200
part /boot --fstype ext4 --size=200 --asprimary
part / --fstype ext4 --size=15000
part swap --size=1024
part /data --fstype ext4 --size=1 --grow
# Reboot after installation
reboot
#Root password
rootpw --iscrypted $default_password_crypted
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone Asia/Shanghai
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr
# Allow anaconda to partition the system as needed
#autopart
user --name=root --password=richie
%pre
$SNIPPET('log_ks_pre')
$SNIPPET('kickstart_start')
$SNIPPET('pre_install_network_config')
# Enable installation monitoring
$SNIPPET('pre_anamon')
%end
%packages
@base
@core
@development
@server-platform-devel
lftp
samba-client
lftp
openssh-clients
epel-release
%end
%post --nochroot
$SNIPPET('log_ks_post_nochroot')
%end
%post
$SNIPPET('log_ks_post')
chkconfig ip6tables off
cat >> /etc/security/limits.conf <
没有找到相关结果
已邀请:
2 个回复
赵班长 - 不忘初心,方得始终!
2.local是从本地硬盘启动的。整个选择界面都可以修改的。就是修改pxedefault.template 这个配置。可以设置MENU TITILE。设置超时时间等。
richie