forked from sej7278/virt-installs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ol8_kickstart.cfg
49 lines (41 loc) · 944 Bytes
/
ol8_kickstart.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
# install
cdrom
text
skipx
firstboot --disable
eula --agreed
poweroff
# geography
keyboard --vckeymap=gb --xlayouts='gb'
lang en_GB.UTF-8
timezone Europe/London --isUtc --ntpservers=uk.pool.ntp.org
# network
network --bootproto=static --device=enp1s0 --gateway=192.168.1.1 --ip=192.168.1.48 --netmask=255.255.255.0 --nameserver=192.168.1.1,8.8.8.8 --noipv6 --activate
network --hostname=ol8ks
# users
rootpw password
user --name=simon --password=password
# disk
ignoredisk --only-use=sda
bootloader --location=mbr --boot-drive=sda --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH"
clearpart --none --initlabel
autopart --type=lvm
# packages
%packages
@core
chrony
net-tools
tar
-kernel-uek
%end
# services
services --enabled=chronyd
services --disabled=postfix
firewall --disabled
%addon com_redhat_kdump --disable --reserve-mb='auto'
%end
# config
%post
systemctl enable fstrim.timer
yum config-manager --disable *UEK*
%end