blob: cd5ef97baa5102440a4a493684ff8ed6332704af [file] [log] [blame]
jan kaufman3ea7ab52015-04-10 10:58:00 +02001install
2cdrom
3lang en_US.UTF-8
4keyboard us
5network --onboot yes --device eth0 --bootproto dhcp --noipv6
6rootpw --plaintext vagrant
7firewall --enabled --service=ssh
8authconfig --enableshadow --passalgo=sha512
9selinux --disabled
10timezone Europe/Prague
11bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
12
13text
14skipx
15zerombr
16
17clearpart --all --initlabel
18autopart
19
20auth --useshadow --enablemd5
21firstboot --disabled
22reboot
23
24%packages --ignoremissing
25@core
26bzip2
27kernel-devel
28kernel-headers
29-ipw2100-firmware
30-ipw2200-firmware
31-ivtv-firmware
32%end
33
34%post
35/usr/bin/yum -y install sudo
36/usr/sbin/groupadd -g 501 vagrant
37/usr/sbin/useradd vagrant -u 501 -g vagrant -G wheel
38echo "vagrant"|passwd --stdin vagrant
39echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
40chmod 0440 /etc/sudoers.d/vagrant
41%end