install url --url=http://archive.kernel.org/centos/5.9/os/x86_64/ lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 keyboard us text skipx zerombr network --device eth0 --bootproto dhcp rootpw vagrant firewall --enabled --trust eth0 --ssh selinux --disabled authconfig --enableshadow --enablemd5 timezone America/New_York bootloader --location=mbr clearpart --all --initlabel autopart reboot %packages @ core %post /usr/sbin/groupadd vagrant /usr/sbin/useradd vagrant -g vagrant -G wheel echo "vagrant"|passwd --stdin vagrant echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers %end