Fix syntax according to HCL
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
1ce40f2a5a
commit
3334ec7117
@ -22,7 +22,7 @@ source "vsphere-iso" "srv2019-t" {
|
||||
guest_os_type = "windows9Server64Guest"
|
||||
|
||||
boot_order = "disk,cdrom"
|
||||
boot_command = ""
|
||||
boot_command = [""]
|
||||
boot_wait = "5m"
|
||||
|
||||
communicator = "winrm"
|
||||
@ -31,7 +31,7 @@ source "vsphere-iso" "srv2019-t" {
|
||||
winrm_timeout = "10m"
|
||||
|
||||
RAM = 8192
|
||||
cpus = 2
|
||||
CPUs = 2
|
||||
|
||||
network_adapters {
|
||||
network = "${var.vsphere_network}"
|
||||
@ -41,8 +41,8 @@ source "vsphere-iso" "srv2019-t" {
|
||||
disk_size = 20480
|
||||
disk_thin_provisioned = true
|
||||
}
|
||||
disk_controller_type = "lsilogic-sas"
|
||||
usb_controller = "xhci"
|
||||
disk_controller_type = ["lsilogic-sas"]
|
||||
usb_controller = ["xhci"]
|
||||
|
||||
floppy_files = [
|
||||
"packer/preseed/Server2019/Autounattend.xml",
|
||||
@ -61,7 +61,7 @@ source "vsphere-iso" "srv2019-t" {
|
||||
shutdown_command = "C:\\Windows\\System32\\Sysprep\\sysprep.exe /generalize /oobe /unattend:A:\\Sysprep_Unattend.xml"
|
||||
shutdown_timeout = "1h"
|
||||
|
||||
export = {
|
||||
export {
|
||||
images = false
|
||||
output_directory = "/scratch/srv2019-t"
|
||||
}
|
||||
@ -83,7 +83,7 @@ source "vsphere-iso" "srv2019-v" {
|
||||
guest_os_type = "windows9Server64Guest"
|
||||
|
||||
boot_order = "disk,cdrom"
|
||||
boot_command = ""
|
||||
boot_command = [""]
|
||||
boot_wait = "5m"
|
||||
|
||||
communicator = "winrm"
|
||||
@ -92,7 +92,7 @@ source "vsphere-iso" "srv2019-v" {
|
||||
winrm_username = "administrator"
|
||||
|
||||
RAM = 8192
|
||||
cpus = 2
|
||||
CPUs = 2
|
||||
|
||||
network_adapters {
|
||||
network = "${var.vsphere_network}"
|
||||
@ -102,8 +102,8 @@ source "vsphere-iso" "srv2019-v" {
|
||||
disk_size = 20480
|
||||
disk_thin_provisioned = true
|
||||
}
|
||||
disk_controller_type = "lsilogic-sas"
|
||||
usb_controller = "xhci"
|
||||
disk_controller_type = ["lsilogic-sas"]
|
||||
usb_controller = ["xhci"]
|
||||
|
||||
floppy_files = [
|
||||
"packer/preseed/Server2019/Autounattend.xml",
|
||||
@ -122,7 +122,7 @@ source "vsphere-iso" "srv2019-v" {
|
||||
shutdown_command = "C:\\Windows\\System32\\Sysprep\\sysprep.exe /generalize /oobe /unattend:A:\\Sysprep_Unattend.xml"
|
||||
shutdown_timeout = "1h"
|
||||
|
||||
export = {
|
||||
export {
|
||||
images = false
|
||||
output_directory = "/scratch/srv2019-v"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user