This repository provides a template Vagrantfile to create a CentOS 7 instance using the VirtualBox software hypervisor on your local machine.
Please be aware that the standard memory per instance is set to 4096 MB, and the cpu cores to 4.
- VirtualBox 4.3.10 or greater.
- Vagrant 1.6 or greater.
git clone https://github.com/mesoshq/vagrant-centos/
cd vagrant-cluster-centos
The VirtualBox provider is the default Vagrant provider. Use this if you are unsure.
vagrant up
vagrant ssh centos-01
vagrant up
triggers Vagrant to download the centos/7
box (if necessary) and (re)launch the instances
vagrant ssh <hostname>
connects you to the virtual machine. The hostname is centos-01, the IP is 172.17.11.101.
Configuration is stored in the directory so you can always return to this machine by executing vagrant ssh from the directory where the Vagrantfile was located.
You can use the provided mesosctl.yml
file to load the cluster configuration like this:
mesosctl $ config load /path/to/mesosctl.yml