This commit is contained in:
parent
6bd0be8999
commit
91b5f11c13
@ -6,7 +6,7 @@ resource "vsphere_virtual_machine" "vm-srv" {
|
|||||||
|
|
||||||
folder = var.hv_vmfolder
|
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
|
resource_pool_id = data.vsphere_resource_pool.pool.id
|
||||||
datastore_id = data.vsphere_datastore.datastore.id
|
datastore_id = data.vsphere_datastore.datastore.id
|
||||||
host_system_id = data.vsphere_host.host.id
|
host_system_id = data.vsphere_host.host.id
|
||||||
|
@ -15,6 +15,7 @@ variable "repo_username" {}
|
|||||||
variable "repo_password" {}
|
variable "repo_password" {}
|
||||||
|
|
||||||
variable "vm_template" {}
|
variable "vm_template" {}
|
||||||
|
variable "vm_guestid" {}
|
||||||
variable "vm_numcpu" {}
|
variable "vm_numcpu" {}
|
||||||
variable "vm_memory" {}
|
variable "vm_memory" {}
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
vm_template = "Windows-Server-2019-LTSC"
|
vm_template = "Windows-Server-2019-LTSC"
|
||||||
|
vm_guestid = "windows9Server64Guest"
|
||||||
vm_numcpu = 2
|
vm_numcpu = 2
|
||||||
vm_memory = 4096
|
vm_memory = 4096
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user