Coder Social home page Coder Social logo

vpenso / vm-tools Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 202 KB

Tools to run VM clusters on your Linux workstation for development and testing.

License: GNU General Public License v3.0

Shell 29.25% Ruby 70.75%
virtual-machine libvirt kvm ssh rsync sshfs saltstack chef

vm-tools's Introduction

Virtual Machine Tools

The programs distributed within this repository enable users to quickly configure and use virtual machines as development and test environment on a Linux workstation. Programs in the bin/ sub-directory build a tool-chain to bootstrap multiple virtual machine instances in a very customizable way.

The tool-chain is based on software available in all modern Linux distributions:

  • Linux KVM is used as virtualization platform.
  • Libvirt interfaces with KVM and manages the virtual machine network.
  • SSH, Rsync, and SSHfs allows access the virtual machine instances.

Make sure to Install and configure Libvirt

Comprehensive examples:

The shell script โ†ด source_me.sh adds the tool-chain in this repository to your shell environment:

>>> source source_me.sh

It will add the bin/ sub-directory to your PATH and define several additional environment variables cf. var/aliases/env.sh.

Usage

The docs/ sub-directory includes all documentation required to use this tool-chain:

  • docs/network.md explains the setup of the virtual machine network
  • docs/image.md describes how to create re-usable virtual machine images (aka templates)
  • docs/instance.md shows how to use VM images to create any number of virtual machine instances, and how to configure the resources available to VM instance.
  • docs/workflow.md explains in great detail how to efficiently interact with virtual machine instances. How to login, execute commands within a VM, copy file between host and the VM, and how to mount the VM root file-system.
  • docs/nodeset.md exemplifies operation of multiple virtual machine instance

Configure a virtual machine instance with a Configuration Management System:

  • docs/ansible.md show how to configure virtual machine instance with Ansible.
  • docs/chef.md describes how to us the chef-instance command to execute Chef Solo in a virtual machine instance.
  • docs/salt.md describes how to create a configuration to use Salt SSH with salt-instance

License

Copyright 2012-2019 Victor Penso

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

vm-tools's People

Contributors

gabrieleiannetti avatar mtds avatar vpenso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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