Code Monkey home page Code Monkey logo

multivagrant's Introduction

multivagrant

Vagrant template of a 3-node VM cluster.

The goal is provide a basic Vagrantfile that provisions three machines with a common hosts file for out-of-the-box DNS name-based interconnectivity.

Use

This Vagrantfile includes the GetoptLong ruby library, and thus the vagrant command expects the --machine option to be passed with the desired Vagrant box. For example:

vagrant --machine="ubuntu/xenial64" up

Which will create a 3-node ubuntu (xenial64) cluster.

Keep in mind you will need to append EVERY vagrant command (up, destroy, status) with the --machine option.

Details

This setup uses Vagrant's file provisioner and inline shell provisioner to move the hosts file from the root directory to /etc/hosts file. The hosts reside on a private network, 192.168.56.0/24. Each host is simply named host$ where $ is the associated host number. No other applications or files are installed, beyond what's included in the base Vagrant box.

multivagrant's People

Contributors

kawaiian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.