Giter Club home page Giter Club logo

vagrant-single's Introduction

Vagrant Single

Install and run a virtual machine on your host

The installation can be used for local development or testing. Please change the parameter in Vagrantfile to suit your needs. This script will install 1 virtual machine with Ansible and Docker provisioned.

Vagrant

These plugins a needed:

vagrant plugin list
vagrant-hostmanager (1.8.9, global)
  - Version Constraint: > 0
vagrant-hosts (2.9.0, global)
  - Version Constraint: > 0
vagrant-vbguest (0.19.0, global)
  - Version Constraint: > 0

Virtualisation environments

VirtualBox

Is the default and need nom alterations in the Vagrant file. To install the VBox extentions you need the vagrant-vbguest plugin. The /etc/hosts sync can be done with vagrant-hosts.

Hyper-V

When using Hyper-V you need to an elevated command prompt. Run the CMD window as Administrator and start the machines with vagrant up --provider=hyperv The /etc/hosts sync can be done with vagrant-hostmanager.

Box Operation system

You can change the OS to any supported box you need. In that case please change the setup scripts in the example playbook according to you flavour of Linux.

Currently tested and supplied are these boxes:

  • bento/centos-7.7
  • bento/ubuntu-18.04
  • bento/debian-10.1

Comment / uncomment to change the box.

Default OS is CentOS 7.7 on VirtualBox.

Provisioning

A set base Ansible provision playbooks are supplied. If you want a vanilla box just comment out the provision section.

Getting started

  • Download or clone this repository.
  • Edit the Vagrantfile
    • Set the machine name
    • Select your OS
    • Select your hypervisor
  • Run vagrant up
  • To stop run vagrant halt

More information about the operation of vagrant can be found at the Vagrant documentation site.

vagrant-single's People

Contributors

cgerull 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.