Optimized settings for deployment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2021-04-05 10:35:22 +02:00
parent 57e5bca7cd
commit f39fd9d10e
4 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,8 @@ data "vsphere_ovf_vm_template" "ovf-rootca" {
# deployment_option = "standalone-root"
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
deployment_option = "standalone"
disk_provisioning = "thin"
}
resource "vsphere_virtual_machine" "vm-rootca" {
@ -27,6 +29,7 @@ resource "vsphere_virtual_machine" "vm-rootca" {
network_interface {
network_id = data.vsphere_network.network.id
}
wait_for_guest_net_timeout = 15
disk {
label = "disk0"

View File

@ -8,6 +8,8 @@ data "vsphere_ovf_vm_template" "ovf-intermediateca" {
# deployment_option = "enterprise-intermediate"
remote_ovf_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
deployment_option = "domainmember"
disk_provisioning = "thin"
}
resource "vsphere_virtual_machine" "vm-intermediateca" {
@ -27,6 +29,7 @@ resource "vsphere_virtual_machine" "vm-intermediateca" {
network_interface {
network_id = data.vsphere_network.network.id
}
wait_for_guest_net_timeout = 15
disk {
label = "disk0"

View File

@ -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"
deployment_option = "standalone"
disk_provisioning = "thin"
}
resource "vsphere_virtual_machine" "vm-dc" {
@ -25,6 +27,7 @@ resource "vsphere_virtual_machine" "vm-dc" {
network_interface {
network_id = data.vsphere_network.network.id
}
wait_for_guest_net_timeout = 15
disk {
label = "disk0"

View File

@ -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"
deployment_option = "domainmember"
disk_provisioning = "thin"
}
resource "vsphere_virtual_machine" "vm-srv" {
@ -25,6 +27,7 @@ resource "vsphere_virtual_machine" "vm-srv" {
network_interface {
network_id = data.vsphere_network.network.id
}
wait_for_guest_net_timeout = 15
disk {
label = "disk0"