Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quicklab

Quickly create/destroy (multiple) vms on vmware vcenter

Motivation

I wanted something to quickly create and destroy vms to make labs on the school vcenter environment. I tried to use tools like Terraform but those did not work due to me not having enough permissions which led me to create this tool which can work with minimal permissions.

Features

  • Define Vms in a yaml file (see lab1.yaml)
  • Create and destroy multiple vms
  • Autostart vms after creation if desired
  • Output a json file containing the vm names and their id to use with other tooling (see lab1.json)

Installing

Make sure that the following programs are installed:

  • Curl
  • Jq
  • Yq
  • Units

Clone the repo and move quicklab to your desired script folder

git clone https://github.com/misthios/quicklab.git && cd quicklab
mv ./quicklab /usr/local/bin
chmod +x /usr/local/bin/quicklab

Usage

quicklab -s https://domain.tld -f lab.<json/yaml> -m <create/destroy> -u username \
    <-d> <-i>

About

quickly create/destroy multiple vms on vmware vcenter

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages