forked from uboreas/centos-8-minimal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ks.cfg
71 lines (50 loc) · 1.33 KB
/
ks.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
63
64
65
66
67
68
69
70
71
#platform=x86, AMD64, or Intel EM64T
#version=RHEL8
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Only use sda disk
ignoredisk --only-use=sda
# System bootloader configuration
bootloader --append="rhgb novga console=ttyS0,115200 console=tty0 panic=1" --location=mbr --driveorder="sda" --boot-drive=sda
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all
# Reboot after installation
reboot
# Use text mode install
text
# Use CDROM
cdrom
# Keyboard layouts
keyboard --vckeymap=us --xlayouts=''
# System language
lang en_US.UTF-8
# Installation logging level
logging --level=info
# Network information
network --bootproto=dhcp --device=enp0s3 --noipv6 --activate --hostname server1.example.com
# Root password
rootpw --iscrypted $1$oXhMRzpse6FeGBc1uF2JmG2xTeSWPL9
# System authorization information
authselect --enableshadow --passalgo=sha512
# SELinux configuration
selinux --disabled
firstboot --disable
# Do not configure the X Window System
skipx
# System services
services --disabled="kdump,rpcbind,sendmail,postfix,chronyd"
# System timezone
timezone Asia/Kolkata --isUtc --ntpservers=10.43.12.34
# Disk partitioning information
autopart --type=lvm
%packages
@^minimal-environment
smartmontools
sysstat
tmux
tuned
zip
%end
%addon com_redhat_kdump --disable --reserve-mb='auto'
%end