50 lines
905 B
INI
50 lines
905 B
INI
|
install
|
||
|
cdrom
|
||
|
lang en_US.UTF-8
|
||
|
keyboard us
|
||
|
unsupported_hardware
|
||
|
network --bootproto=dhcp
|
||
|
rootpw --iscrypted $1$wwD0QIub$WNz1RShXh1UapQzmpF4/c1
|
||
|
firewall --disabled
|
||
|
authconfig --enableshadow --passalgo=sha512
|
||
|
selinux --permissive
|
||
|
timezone UTC
|
||
|
bootloader --location=mbr
|
||
|
text
|
||
|
skipx
|
||
|
zerombr
|
||
|
clearpart --all --initlabel
|
||
|
autopart
|
||
|
auth --useshadow --enablemd5
|
||
|
firstboot --disabled
|
||
|
#reboot
|
||
|
poweroff
|
||
|
|
||
|
%packages --ignoremissing
|
||
|
@Base
|
||
|
@Core
|
||
|
@Development Tools
|
||
|
openssl-devel
|
||
|
readline-devel
|
||
|
zlib-devel
|
||
|
kernel-devel
|
||
|
vim
|
||
|
wget
|
||
|
%end
|
||
|
|
||
|
%post
|
||
|
yum -y update
|
||
|
|
||
|
# update root certs
|
||
|
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
|
||
|
|
||
|
# vagrant
|
||
|
groupadd vagrant -g 999
|
||
|
useradd vagrant -g vagrant -G wheel -u 900 -s /bin/bash
|
||
|
echo "vagrant" | passwd --stdin vagrant
|
||
|
|
||
|
# sudo
|
||
|
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||
|
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
|
||
|
%end
|