-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkickstart_centos.cfg
62 lines (48 loc) · 1.12 KB
/
kickstart_centos.cfg
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
install
text
skipx
auth --enableshadow --passalgo=sha512
#
# KS server TODO
#
url --url http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/
repo --name="CentOS" --baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/ --cost=100
#
# Language support TODO
#
lang es_ES.UTF-8
keyboard --vckeymap=es --xlayouts='es'
#
# Network settings TODO
#
network --device=eth0 --bootproto=dhcp
#
# Security TODO
#
rootpw _passwd
sshpw --username=root _passwd
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone Europe/Madrid --isUtc
eula --agreed
zerombr
firstboot --disabled
reboot
# System bootloader configuration
bootloader --location=mbr --append="console=ttyS0"
# Partition clearing information
clearpart --all
# autopart --type=lvm
part /boot --asprimary --fstype ext4 --size=256
part swap --asprimary --size=512
part / --asprimary --fstype xfs --size=4 --grow
%addon com_redhat_kdump --disable --reserve-mb='auto'
%end
%packages --nobase --ignoremissing --excludedocs
@core --nodefaults
epel-release
yum-utils
wget
psmisc
%end