Compare commits
2 Commits
6228c8db35
...
2487003d08
Author | SHA1 | Date | |
---|---|---|---|
2487003d08 | |||
5597046178 |
@@ -30,7 +30,7 @@ source "vsphere-iso" "srv2019-template" {
|
||||
winrm_password = var.winrm_password
|
||||
winrm_timeout = "10m"
|
||||
|
||||
RAM = 8192
|
||||
RAM = 4096
|
||||
CPUs = 2
|
||||
|
||||
network_adapters {
|
||||
@@ -89,7 +89,7 @@ source "vsphere-iso" "srv2019-virtual" {
|
||||
winrm_timeout = "10m"
|
||||
winrm_username = "administrator"
|
||||
|
||||
RAM = 8192
|
||||
RAM = 4096
|
||||
CPUs = 2
|
||||
|
||||
network_adapters {
|
||||
@@ -159,7 +159,7 @@ source "vsphere-iso" "srv2019-baremetal" {
|
||||
disk_size = 20480
|
||||
disk_thin_provisioned = true
|
||||
}
|
||||
disk_controller_type = ["lsilogic-sas"]
|
||||
disk_controller_type = ["lsilogic"]
|
||||
usb_controller = ["xhci"]
|
||||
|
||||
floppy_files = [
|
||||
@@ -194,35 +194,35 @@ build {
|
||||
provisioner "windows-update" {
|
||||
}
|
||||
|
||||
// provisioner "powershell" {
|
||||
// scripts = [
|
||||
// "scripts/Install-WinGet.ps1"
|
||||
// ]
|
||||
// }
|
||||
// provisioner "powershell" {
|
||||
// inline = [
|
||||
// "winget install mozilla.firefox",
|
||||
// "winget install 7zip.7zip",
|
||||
// "winget install microsoft.dotnetframework"
|
||||
// ]
|
||||
// // valid_exit_codes = [0, 3010]
|
||||
// }
|
||||
provisioner "powershell" {
|
||||
scripts = [
|
||||
"scripts/Install-WinGet.ps1"
|
||||
inline = [
|
||||
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12",
|
||||
"Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
|
||||
]
|
||||
}
|
||||
provisioner "powershell" {
|
||||
inline = [
|
||||
"winget install mozilla.firefox",
|
||||
"winget install 7zip.7zip",
|
||||
"winget install microsoft.dotnetframework"
|
||||
"choco config set --name=limit-output --value=LimitOutput",
|
||||
"choco install -y dotnetfx",
|
||||
"choco install -y 7zip.install",
|
||||
"choco install -y sysinternals",
|
||||
"choco install -y firefox"
|
||||
]
|
||||
// valid_exit_codes = [0, 3010]
|
||||
valid_exit_codes = [0, 3010]
|
||||
}
|
||||
// provisioner "powershell" {
|
||||
// inline = [
|
||||
// "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12",
|
||||
// "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
|
||||
// ]
|
||||
// }
|
||||
// provisioner "powershell" {
|
||||
// inline = [
|
||||
// "choco config set --name=limit-output --value=LimitOutput",
|
||||
// "choco install -y dotnetfx",
|
||||
// "choco install -y 7zip.install",
|
||||
// "choco install -y sysinternals",
|
||||
// "choco install -y firefox"
|
||||
// ]
|
||||
// valid_exit_codes = [0, 3010]
|
||||
// }
|
||||
|
||||
provisioner "windows-update" {
|
||||
}
|
||||
|
Reference in New Issue
Block a user