-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathcentos7-minimal.cfg
51 lines (37 loc) · 1.25 KB
/
centos7-minimal.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
# Author: Tomasz Filipiec <[email protected]>
# Desc.: Simple kickstart file for automated installation
# OS: CentOS 7 Minimal (core)
# Version: 1.0
# Turning on text-mode installation (little quicker than GUI)
text
# Setting up authentication and keyboard
auth --enableshadow --passalgo=sha512
keyboard --vckeymap=us --xlayouts='us'
# Installation files source (CentOS-7.0-1406-x86_64-Minimal.iso)
cdrom
# Using only primary disk, ignoring others
ignoredisk --only-use=sda
# Setting up language to English
lang en-US.UTF-8
# Setting up network interface to DHCP
network --bootproto=dhcp --ipv6=auto --hostname=centos-ks.local --activate
# Root password (remember that plaintext only for information purposes)
rootpw --plaintext centos
# Setting up firewall and enabling SSH for remote management
firewall --enabled --service=ssh
# Setting timezone
timezone Europe/Warsaw --isUtc
# Setting up Security-Enhanced Linux into enforcing
selinux --enforcing
# Setting up MBR
bootloader --location=mbr --boot-drive=sda
# Setting up Logical Volume Manager and autopartitioning
clearpart --all --drives=sda --initlabel
autopart --type=lvm
# Eject cdrom and reboot
reboot --eject
# Installing only packages for minimal install
%packages
@Core
chrony
%end