Created
November 16, 2013 20:38
-
-
Save biemond/7504983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall --enabled --http --ssh --port=443:tcp | |
install | |
url --url http://mirrors.kernel.org/centos/6.4/os/x86_64/ | |
lang en_US.UTF-8 | |
keyboard us | |
timezone America/Los_Angeles | |
timezone Europe/Berlin | |
network --bootproto=dhcp | |
rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/ | |
authconfig --enableshadow --passalgo=sha512 | |
selinux —disabled | |
#selinux --enforcing | |
bootloader --location=mbr | |
text | |
skipx | |
logging --level=info | |
zerombr | |
clearpart --all --initlabel | |
autopart | |
auth --useshadow --enablemd5 | |
firstboot --disabled | |
reboot | |
%packages --ignoremissing | |
@Base | |
@Core | |
@Development Tools | |
kernel-devel | |
%end | |
%post | |
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem | |
groupadd vagrant -g 999 | |
useradd vagrant -g vagrant -G wheel -u 900 | |
echo "vagrant" | passwd --stdin vagrant | |
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment