From c262c55e069fe9ec1e30d6bd056ebb45e7630d6c Mon Sep 17 00:00:00 2001 From: djpbessems Date: Thu, 24 Jun 2021 13:25:30 +0200 Subject: [PATCH] Fix paths (forgot to stage the changes in previous commit :P) --- packer/windowsserver2019.pkr.hcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packer/windowsserver2019.pkr.hcl b/packer/windowsserver2019.pkr.hcl index 742bcfa..33381b3 100644 --- a/packer/windowsserver2019.pkr.hcl +++ b/packer/windowsserver2019.pkr.hcl @@ -200,6 +200,7 @@ build { provisioner "powershell" { scripts = [ + "scripts/Install-Prerequisites.ps1", "scripts/Install-WinGet.ps1" ] } @@ -241,13 +242,13 @@ build { provisioner "file" { only = ["vsphere-iso.srv2019-virtual"] destination = "C:\\Payload\\" - source = "scripts/Server2019/payload/" + source = "scripts/payload/" } provisioner "powershell" { only = ["vsphere-iso.srv2019-virtual"] scripts = [ - "scripts/Server2019/Register-ScheduledTask.ps1" + "scripts/Register-ScheduledTask.ps1" ] }