1 |
|
2 |
install |
3 |
reboot |
4 |
text |
5 |
url --url http://spiegel.nikhef.nl/mirror/centos/7/os/x86_64i |
6 |
sshpw --username=root LOCKED --iscrypted --lock |
7 |
|
8 |
#version=DEVEL |
9 |
# System authorization information |
10 |
auth --enableshadow --passalgo=sha512 |
11 |
# Run the Setup Agent on first boot |
12 |
firstboot --enable |
13 |
ignoredisk --only-use=sdb,sdc |
14 |
# Keyboard layouts |
15 |
keyboard --vckeymap=us --xlayouts='us' |
16 |
# System language |
17 |
lang en_US.UTF-8 |
18 |
|
19 |
# Network information |
20 |
|
21 |
# Manual Connection to Online CA box |
22 |
network --bootproto=static --device=enp8s0 --onboot=on --nodns --ip=192.168.1.254 --netmask=255.255.255.0 --noipv6 |
23 |
# Outbound Connection |
24 |
network --bootproto=static --device=enp4s0 --onboot=on --nameserver 194.171.97.224,192.16.185.12,192.16.199.17 --ip=194.171.96.73 --netmask=255.255.255.224 --gateway=194.171.96.94 |
25 |
network --hostname=localhost.localdomain |
26 |
firewall --enabled --port=22:tcp |
27 |
|
28 |
# Root password |
29 |
rootpw --iscrypted ROOT_PWD |
30 |
# System services |
31 |
services --disabled="chronyd" |
32 |
# System timezone |
33 |
timezone Europe/Amsterdam --isUtc --nontp |
34 |
# System bootloader configuration |
35 |
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sdb |
36 |
# Partition clearing information |
37 |
zerombr |
38 |
clearpart --all --initlabel --drives=sdb,sdc |
39 |
# Disk partitioning information |
40 |
part raid.6441 --fstype="mdmember" --ondisk=sdc --size=473300 |
41 |
part raid.6435 --fstype="mdmember" --ondisk=sdb --size=473300 |
42 |
part raid.5741 --fstype="mdmember" --ondisk=sdb --size=501 |
43 |
part raid.5747 --fstype="mdmember" --ondisk=sdc --size=501 |
44 |
raid pv.6447 --device=pv00 --fstype="lvmpv" --level=RAID1 raid.6435 raid.6441 |
45 |
raid /boot --device=boot --fstype="ext4" --level=RAID1 raid.5741 raid.5747 |
46 |
volgroup centos --pesize=4096 pv.6447 |
47 |
logvol /var --fstype="ext4" --size=307160 --name=var --vgname=centos |
48 |
logvol swap --fstype="swap" --size=32728 --name=swap --vgname=centos |
49 |
logvol /home --fstype="ext4" --size=30680 --name=home --vgname=centos |
50 |
logvol / --fstype="ext4" --size=102396 --name=root --vgname=centos |
51 |
|
52 |
%packages |
53 |
@^minimal |
54 |
@core |
55 |
kexec-tools |
56 |
|
57 |
%end |
58 |
|
59 |
%addon com_redhat_kdump --enable --reserve-mb='auto' |
60 |
|
61 |
%end |