Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.34 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.34 KB

CentOS 7 instance via Vagrant (for the use with mesosctl)

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.

Streamlined setup

Install dependencies

Clone this project and get it running!

git clone https://github.com/mesoshq/vagrant-centos/
cd vagrant-cluster-centos

Startup and SSH

The VirtualBox provider is the default Vagrant provider. Use this if you are unsure.

vagrant up
vagrant ssh centos-01

Description

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.

mesosctl

You can use the provided mesosctl.yml file to load the cluster configuration like this:

mesosctl $ config load /path/to/mesosctl.yml