商务合作加Q:411239339

CentOS 7 kickstart脚本

浏览:629次阅读
没有评论

共计 961 个字符,预计需要花费 3 分钟才能阅读完成。

 
#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$Zj.QV4EB$HPirO1GujsMOyAt6I0Hcr.
# System timezone
timezone Asia/Shanghai
# System language
lang en_US
# Firewall configuration
firewall --disabled
# System authorization information
auth  --useshadow  --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel 
# Disk partitioning information
part /boot --asprimary --fstype="ext4" --size=2000
part swap --fstype="swap" --size=2048
part / --fstype="ext4" --grow --size=1
%packages 
@base 
@core 
@development 
@hardware-monitoring 
@performance 
@remote-system-management 
%end

正文完
扫码赞助
post-qrcode
 0
果子
版权声明:本站原创文章,由 果子 于2016-01-11发表,共计961字。
转载说明:除特殊说明外本站文章皆由果较瘦原创发布,转载请注明出处。
评论(没有评论)