附上我自己的ks文件参考
[root@cobbler ks]# cat centos6.cfg
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Keyboard layouts
keyboard 'us'# Reboot after installation
reboot
# Root password
rootpw --iscrypted $1$JrbIN3YW$buJKv8Y7FfZhCEhOg/eD01
# System timezone
timezone Asia/Chongqing --isUtc
# Use network installation
url --url="http://192.168.3.100/cobbler/ks_mirror/centos6/"
# System language
lang en_US
# Firewall configuration
firewall --disabled
# Network information
network --bootproto=dhcp --device=eth0
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# System bootloader configuration
bootloader --append="crashkernel=auto rhgb quiet" --location=mbr --driveorder="sda"
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot --fstype="ext4" --size=500
part pv.008002 --grow --size=1
%packages
@base
@basic-desktop
@core
@debugging
@desktop Platform Development
@desktop-debugging
@desktop-platform
@development tools
@directory-client
@fonts
@input-methods
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@print-client
@remote-desktop-clients
@server Platform Development
@server-platform
@server-policy
@x11
%end
CentOS 7安装Cobbler2.6.9自动化部署工具(4)
内容版权声明:除非注明,否则皆为本站原创文章。