-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitial-setup-ks.cfg
More file actions
71 lines (65 loc) · 2.09 KB
/
initial-setup-ks.cfg
File metadata and controls
71 lines (65 loc) · 2.09 KB
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
#version=DEVEL
# X Window System configuration information
xconfig --startxonboot
# License agreement
eula --agreed
repo --name="Server-HighAvailability" --baseurl=file:///run/install/repo/addons/HighAvailability
repo --name="Server-ResilientStorage" --baseurl=file:///run/install/repo/addons/ResilientStorage
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
# System services
services --disabled="chronyd"
# Keyboard layouts
keyboard --vckeymap=in-eng --xlayouts='in (eng)'
# System language
lang en_IN.UTF-8
ignoredisk --only-use=sda
# Network information
network --bootproto=dhcp --device=ens3 --onboot=off --ipv6=auto --no-activate
network --bootproto=dhcp --hostname=mlinux7
# Root password
rootpw --iscrypted $6$GeOwpLdfa5S/09hR$tbwC54GRy5g9ZWfyE16JA1QdV.mcZ1aFVp2Xr0aUFKqw.MCtUEEAeTsFO/632NY4JydTl0j6/jEg/SgyRvV4n/
# System timezone
timezone Asia/Kolkata --isUtc --nontp
user --name=myuser --password=$6$JKkrTYP.d5NkqEC0$pDpkr2n/Np7951VmD23m0Qry/NhyIwnC.RVb9e6mShnDfL7w14E4bKzTuEePsy90MWDEqSAE7DrUsbFNCnUIc/ --iscrypted --gecos="myuser"
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part / --fstype="xfs" --ondisk=sda --size=15360
part swap --fstype="swap" --ondisk=sda --size=4096
part /boot --fstype="xfs" --ondisk=sda --size=500
%packages
@^graphical-server-environment
@base
@core
@desktop-debugging
@dial-up
@fonts
@gnome-desktop
@guest-agents
@guest-desktop-agents
@hardware-monitoring
@input-methods
@internet-browser
@multimedia
@print-client
@x11
kexec-tools
%end
%addon com_redhat_subscription_manager
%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