-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanaconda-ks.cfg
56 lines (45 loc) · 1.22 KB
/
anaconda-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
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use text install
install
text
# Run the Setup Agent on first boot
firstboot --disable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=fr-oss --xlayouts='fr (oss)'
# System language
lang fr_FR.UTF-8
# Network information
network --bootproto=dhcp --device=enp0s3 --onboot=on --ipv6=auto
network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$Vuk4iRe/UeVN/1Iq$//RnMZTasUtYEH1ThPHPouSXVU1N2r6KY4sPj7fBGXw74xmSRl7RZHiLK1Do07ZbgikA/CQcjSrPpvxTRsyt50
# System timezone
timezone Europe/Paris --isUtc
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
%packages
@^minimal
@core
kexec-tools
wget
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
#######################################################################################
%post
#!/bin/sh
set -x -v
exec 1>/root/kickstart-stage2.log 2>&1
cd /root/
wget https://raw.githubusercontent.com/MyDomoHome/HostServer/master/install.sh
chmod +x install.sh
./install.sh
%end