Skip to content

r0k5t4r/tf-vbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy multiple VMs in virtualbox using Terraform and Cloud-init

This very simple terraform manifest can deploy multiple VMs in virtualbox. See my blogpost for more information:

https://www.roksblog.de/terraform-virtualbox-provider-terrafarm/

In order to use this code you must have:

  1. A machine with Terraform and Virtualbox

In order to run this:

  1. clone the git repo
  2. cd into the cloned directory
  3. We need to adjust PATH variable in PowerShell for vboxmanage binary
 $env:PATH = $env:PATH + ";C:\Program Files\Oracle\VirtualBox"
  1. run:
 terraform init
  1. run:
terraform plan
  1. run:
terraform apply

After the deployment the IPs for the VMs will be displayed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages