-
Notifications
You must be signed in to change notification settings - Fork 302
/
helper-ks8.cfg
52 lines (44 loc) · 1.5 KB
/
helper-ks8.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
#version=EL8
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Use CDROM installation media
cdrom
# Use graphical install
text
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=static --device=enp1s0 --gateway=192.168.7.1 --ip=192.168.7.77 --nameserver=8.8.8.8 --netmask=255.255.255.0 --ipv6=auto --activate
network --hostname=helper
# Partition clearing information
clearpart --none --initlabel
# Root password
rootpw --plaintext changeme
# System services
services --enabled="chronyd"
# System timezone
timezone America/Los_Angeles --isUtc --ntpservers=0.centos.pool.ntp.org,1.centos.pool.ntp.org,2.centos.pool.ntp.org,3.centos.pool.ntp.org
# Do not configure the X Window System
skipx
# Disk partitioning information
part /boot --fstype="ext4" --ondisk=vda --size=1024
part pv.221 --fstype="lvmpv" --ondisk=vda --size=50175
volgroup vg0 --pesize=4096 pv.221
logvol swap --fstype="swap" --size=256 --name=swap --vgname=vg0
logvol / --fstype="xfs" --size=49916 --name=root --vgname=vg0
reboot
%packages
@^minimal-environment
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end