Skip to content

www-aiqu-no/terraform-vsphere-linux-vm

Repository files navigation

Create Linux VM scaleset on vSphere

GitHub top language GitHub Workflow Status GitHub release (latest by date including pre-releases) GitHub last commit GitHub issues

Limitations

  • Single disk & datastore
  • Single NIC
  • Only ipv4

Example (incl. provisioning)

# See under example/ for a better & more detailed example
# --
# Deploy nodes
module "cluster" {
  source  = "www-aiqu-no/linux-vm/vsphere"
  version = "0.2.0"
  # --
  datacenter   = "example-ds"
  datastore    = "example-ds"
  resourcepool = "VMC1/Resources"
  network      = "example-nw"
  template     = "example-tpl"
  # --
  prefix            = "demo"
  instances         = 2
  ipv4_network      = "10.0.0.0/24"
  ipv4_gateway      = "10.0.0.1"
  ipv4_address_from = 50
  # --
  cpu_count    = 2
  memory_mb    = 4096
  disk_size_gb = 50
}

About

Deploy Linux VM's from template on vSphere infrastructure

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages