Optimized settings for deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
57e5bca7cd
commit
f39fd9d10e
@ -8,6 +8,8 @@ data "vsphere_ovf_vm_template" "ovf-rootca" {
|
|||||||
# deployment_option = "standalone-root"
|
# deployment_option = "standalone-root"
|
||||||
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
||||||
deployment_option = "standalone"
|
deployment_option = "standalone"
|
||||||
|
|
||||||
|
disk_provisioning = "thin"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "vsphere_virtual_machine" "vm-rootca" {
|
resource "vsphere_virtual_machine" "vm-rootca" {
|
||||||
@ -27,6 +29,7 @@ resource "vsphere_virtual_machine" "vm-rootca" {
|
|||||||
network_interface {
|
network_interface {
|
||||||
network_id = data.vsphere_network.network.id
|
network_id = data.vsphere_network.network.id
|
||||||
}
|
}
|
||||||
|
wait_for_guest_net_timeout = 15
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
label = "disk0"
|
label = "disk0"
|
||||||
|
@ -8,6 +8,8 @@ data "vsphere_ovf_vm_template" "ovf-intermediateca" {
|
|||||||
# deployment_option = "enterprise-intermediate"
|
# deployment_option = "enterprise-intermediate"
|
||||||
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
||||||
deployment_option = "domainmember"
|
deployment_option = "domainmember"
|
||||||
|
|
||||||
|
disk_provisioning = "thin"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "vsphere_virtual_machine" "vm-intermediateca" {
|
resource "vsphere_virtual_machine" "vm-intermediateca" {
|
||||||
@ -27,6 +29,7 @@ resource "vsphere_virtual_machine" "vm-intermediateca" {
|
|||||||
network_interface {
|
network_interface {
|
||||||
network_id = data.vsphere_network.network.id
|
network_id = data.vsphere_network.network.id
|
||||||
}
|
}
|
||||||
|
wait_for_guest_net_timeout = 15
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
label = "disk0"
|
label = "disk0"
|
||||||
|
@ -6,6 +6,8 @@ data "vsphere_ovf_vm_template" "ovf-dc" {
|
|||||||
|
|
||||||
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/ADDS-appliance.ova"
|
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/ADDS-appliance.ova"
|
||||||
deployment_option = "standalone"
|
deployment_option = "standalone"
|
||||||
|
|
||||||
|
disk_provisioning = "thin"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "vsphere_virtual_machine" "vm-dc" {
|
resource "vsphere_virtual_machine" "vm-dc" {
|
||||||
@ -25,6 +27,7 @@ resource "vsphere_virtual_machine" "vm-dc" {
|
|||||||
network_interface {
|
network_interface {
|
||||||
network_id = data.vsphere_network.network.id
|
network_id = data.vsphere_network.network.id
|
||||||
}
|
}
|
||||||
|
wait_for_guest_net_timeout = 15
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
label = "disk0"
|
label = "disk0"
|
||||||
|
@ -6,6 +6,8 @@ data "vsphere_ovf_vm_template" "ovf-srv" {
|
|||||||
|
|
||||||
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
||||||
deployment_option = "domainmember"
|
deployment_option = "domainmember"
|
||||||
|
|
||||||
|
disk_provisioning = "thin"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "vsphere_virtual_machine" "vm-srv" {
|
resource "vsphere_virtual_machine" "vm-srv" {
|
||||||
@ -25,6 +27,7 @@ resource "vsphere_virtual_machine" "vm-srv" {
|
|||||||
network_interface {
|
network_interface {
|
||||||
network_id = data.vsphere_network.network.id
|
network_id = data.vsphere_network.network.id
|
||||||
}
|
}
|
||||||
|
wait_for_guest_net_timeout = 15
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
label = "disk0"
|
label = "disk0"
|
||||||
|
Loading…
Reference in New Issue
Block a user