2014-11-10 12:32:25 -06:00
|
|
|
install
|
|
|
|
cdrom
|
|
|
|
lang en_US.UTF-8
|
|
|
|
keyboard us
|
|
|
|
unsupported_hardware
|
|
|
|
network --bootproto=dhcp
|
2014-11-21 11:49:20 -06:00
|
|
|
rootpw --iscrypted $1$DIlig7gp$FuhFdeHj.R1VrEzZsI4uo0
|
2014-11-10 12:32:25 -06:00
|
|
|
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
|
2015-01-07 11:05:33 -06:00
|
|
|
reboot
|
2014-11-10 12:32:25 -06:00
|
|
|
|
|
|
|
%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
|