kickstart模板配置文件,自己记录一下~~~~~正在用的。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use NFS installation media
nfs --server=10.2.31.200 --
dir
=
/mnt/iso/
# Root password
rootpw --iscrypted $1$
/Jo7M3mL
$ZAb7yvQHidccWRO1QTXSH1
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone Asia
/Shanghai
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all
part
/boot
--fstype=ext4 --size=500
part pv.008002 --grow --size=1
volgroup vg_kickstart6 --pesize=4096 pv.008002
logvol / --fstype=ext4 --name=lv_root --vgname=vg_kickstart6 --grow --size=1024 --maxsize=51200
logvol swap --name=lv_swap --vgname=vg_kickstart6 --grow --size=2016 --maxsize=4032
%packages
@additional-devel
@base
@basic-desktop
@compat-libraries
@console-internet
@desktop-debugging
@desktop-platform
@development
@fonts
@
ftp
-server
@general-desktop
@graphical-admin-tools
@graphics
@input-methods
@internet-applications
@internet-browser
@kde-desktop
@legacy-x
@remote-desktop-clients
@x11
%end
|
本文转自 安安安安森 51CTO博客,原文链接:http://blog.51cto.com/smallc/1215855,如需转载请自行联系原作者