Housekeeping;Match packer template w/ prod pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-02-10 10:04:04 +01:00
parent e8b41ba5a4
commit 3a608d878d
2 changed files with 3 additions and 6 deletions

View File

@ -59,7 +59,7 @@ When **provisioning** the appliance through the vCenter 'Deploy OVF template...'
properties = { properties = {
# "deployment.type" = "domainmember" # "deployment.type" = "domainmember"
"guestinfo.hostname" = "TF-SRV01" "guestinfo.hostname" = "SRV01"
# "guestinfo.administratorpw" = var.vm_adminpassword # "guestinfo.administratorpw" = var.vm_adminpassword
# "guestinfo.ntpserver" = "0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org" # "guestinfo.ntpserver" = "0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org"
"guestinfo.ipaddress" = "10.0.0.42" "guestinfo.ipaddress" = "10.0.0.42"
@ -68,7 +68,7 @@ When **provisioning** the appliance through the vCenter 'Deploy OVF template...'
"guestinfo.gateway" = "10.0.0.1" "guestinfo.gateway" = "10.0.0.1"
"addsconfig.domainname" = "contoso.com" "addsconfig.domainname" = "contoso.com"
"addsconfig.username" = "CONTOSO\\Administrator" "addsconfig.username" = "CONTOSO\\domainjoin"
"addsconfig.password" = var.adds_password "addsconfig.password" = var.adds_password
} }
} }

View File

@ -83,6 +83,7 @@
"type": "powershell", "type": "powershell",
"inline": [ "inline": [
"choco config set --name=limit-output --value=LimitOutput", "choco config set --name=limit-output --value=LimitOutput",
"choco install -y dotnetfx",
"choco install -y 7zip.install", "choco install -y 7zip.install",
"choco install -y sysinternals" "choco install -y sysinternals"
], ],
@ -90,10 +91,6 @@
}, },
{ {
"type": "windows-update" "type": "windows-update"
},
{
"type": "windows-restart",
"restart_check_command":"powershell -command \"& {Write-Output 'Probing restart status'}\""
} }
], ],
"post-processors": [[ "post-processors": [[