Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.
/ vagrantctl Public archive
forked from juzmach/vagrantctl

A simple command-line tool for creating and handling multiple Vagrant environments in the same repository

Notifications You must be signed in to change notification settings

juusowtf/vagrantctl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrantctl

A simple tool that utilizes Vagrant and enables you to keep track of multiple different Vagrant environments in the same repository.

Why?

I use this mainly for testing Ansible roles that are held in the same repository.

Installation

Clone this repository/Copy these files to the root of your repository.

Usage

./vagrantctl.sh <option> <environment> [vm (optional)]

up [vm]           - Starts the VMs in the environment (vagrant up).
halt [vm]         - Stops the VMs in the environment (vagrant halt).
init              - Initializes the environment.
status [vm]       - Shows the status of the VMs in the environment.
global-status     - Same as vagrant global-status.
destroy [vm]      - Destroys the VMs in the environment. NOTE: Does not destroy the env directory.
complete-destroy  - Destroys the whole environment (VMs AND directory). Use carefully.
help              - Prints this usage message.
list              - List all environments.
ssh <vm>          - Opens up an SSH connection to a VM.

About

A simple command-line tool for creating and handling multiple Vagrant environments in the same repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 67.2%
  • Ruby 32.8%