-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrhel73-ks-default-template.cfg
59 lines (52 loc) · 1.89 KB
/
rhel73-ks-default-template.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
# This is the generated kickstart file from an install of RHEL 7.3 Server
# (minimal install) on a KVM virtual machine.
# I left the installation defaults as is, except for enabling networking (DHCP).
# The root and user passwords are both "github".
#
# You can use this kickstart file as a base to customize your own kickstart files.
#
#
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
repo --name="Server-HighAvailability" --baseurl=file:///run/install/repo/addons/HighAvailability
repo --name="Server-ResilientStorage" --baseurl=file:///run/install/repo/addons/ResilientStorage
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# 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=dhcp --device=eth0 --ipv6=auto --activate
network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$1.ceo4L7aHvqBHSi$kei.EcDoMQrqyDm7wZTx20JMvJ84/fYiv1oFnZgBDy99KPwyYR51slA3LaZQ5JcQ5cTH6aJRyWA0rgS/BzeDM0
# System services
services --enabled="chronyd"
# System timezone
timezone America/New_York --isUtc
user --name=thomas --password=$6$goMTV4CoT7NFINy.$Lo.ynkF3Vw.p4LXlcexDb0UwrfG5TmLwLvfOgV9baEq.DgW5CkHNN97prElSxhywrCkW/ZLqbG0XXZszNDO5W. --iscrypted
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
%packages
@^minimal
@core
chrony
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=50 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=50 --notstrict --nochanges --notempty
pwpolicy luks --minlen=6 --minquality=50 --notstrict --nochanges --notempty
%end