-
Notifications
You must be signed in to change notification settings - Fork 3
/
centos7-kvm.ks
47 lines (36 loc) · 937 Bytes
/
centos7-kvm.ks
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
# Choosing mode (graphical|text|cmdline [--non-interactive])
text
# Use network installation
url --url http://mirror.centos.org/centos/7/os/x86_64/
# url --mirrorlist http://mirror.centos.org/centos/7/os/x86_64/
# Run the Setup Agent on first boot
firstboot --enable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# System timezone
timezone Europe/London --isUtc --ntpservers=0.pool.ntp.org
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on --ipv6=off
network --hostname=localhost.localdomain
# Root password
rootpw --lock
# User password
user --groups=wheel --name=admin --password=password
# Partition clearing information
zerombr
clearpart --all
# Disk partitioning information
autopart --nohome
# Reboot the system after installation.
reboot
%packages --retries 5 --timeout 20
@core
libvirt
qemu-kvm
qemu-img
%end
services --enabled libvirtd
%post
%end