Add cluster reference
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-04-25 09:21:05 +02:00
parent bc46b09708
commit 8a8cb09984
3 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ source "vsphere-iso" "ubuntuserver" {
vm_name = "${var.vm_guestos}-${var.vm_name}" vm_name = "${var.vm_guestos}-${var.vm_name}"
datacenter = var.vsphere_datacenter datacenter = var.vsphere_datacenter
cluster = var.vsphere_cluster
host = var.vsphere_host host = var.vsphere_host
folder = var.vsphere_folder folder = var.vsphere_folder
datastore = var.vsphere_datastore datastore = var.vsphere_datastore
@ -71,6 +72,7 @@ source "vsphere-iso" "ubuntuserver-baremetal" {
vm_name = "${var.vm_guestos}-${var.vm_name}-baremetal" vm_name = "${var.vm_guestos}-${var.vm_name}-baremetal"
datacenter = var.vsphere_datacenter datacenter = var.vsphere_datacenter
cluster = var.vsphere_cluster
host = var.vsphere_host host = var.vsphere_host
folder = var.vsphere_folder folder = var.vsphere_folder
datastore = var.vsphere_datastore datastore = var.vsphere_datastore

View File

@ -6,6 +6,7 @@ variable "vsphere_password" {
variable "vsphere_host" {} variable "vsphere_host" {}
variable "vsphere_datacenter" {} variable "vsphere_datacenter" {}
variable "vsphere_cluster" {}
variable "vsphere_templatefolder" {} variable "vsphere_templatefolder" {}
variable "vsphere_folder" {} variable "vsphere_folder" {}

View File

@ -1,6 +1,7 @@
vcenter_server = "bv11-vc.bessems.lan" vcenter_server = "bv11-vc.bessems.lan"
vsphere_username = "administrator@vsphere.local" vsphere_username = "administrator@vsphere.local"
vsphere_datacenter = "DeSchakel" vsphere_datacenter = "DeSchakel"
vsphere_cluster = "Cluster.Legacy"
vsphere_host = "bv11-esx.bessems.lan" vsphere_host = "bv11-esx.bessems.lan"
vsphere_datastore = "ESX00.SSD01" vsphere_datastore = "ESX00.SSD01"
vsphere_folder = "/Packer" vsphere_folder = "/Packer"