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