Basic vagrant configuration for a CentOS VM.
Read the Vagrant documentation.
Clone the git repo
git clone git@github.com:jakup/vagrant-centos.git
Run vagrant up
cd vagrant-centos
vagrant up
Vagrant supports many types of provisioners. This project uses a simple file based approach.
- Any files in
vagrant.d/root-enabled
with a filename matching*.sh
will be executed after the VM starts up as a privileged user. - Any files in
vagrant.d/user-enabled
with a filename matching*.sh
will be executed after the VM starts up as thevagrant
user.
I have placed scripts for several applications that I commonly use in vagrant.d/root-available
and most scripts that I most always have enabled are already symlinked in vagrant.d/root-enabled
.