Add guest_id key
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Danny Bessems 2022-03-03 13:41:26 +01:00
parent 6bd0be8999
commit 91b5f11c13
3 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ resource "vsphere_virtual_machine" "vm-srv" {
folder = var.hv_vmfolder
// guest_id = data.vsphere_ovf_vm_template.ovf-srv.guest_id
guest_id = var.vm_guestid
resource_pool_id = data.vsphere_resource_pool.pool.id
datastore_id = data.vsphere_datastore.datastore.id
host_system_id = data.vsphere_host.host.id

View File

@ -15,6 +15,7 @@ variable "repo_username" {}
variable "repo_password" {}
variable "vm_template" {}
variable "vm_guestid" {}
variable "vm_numcpu" {}
variable "vm_memory" {}

View File

@ -1,4 +1,5 @@
vm_template = "Windows-Server-2019-LTSC"
vm_guestid = "windows9Server64Guest"
vm_numcpu = 2
vm_memory = 4096