Skip to content

Commit

Permalink
Try running postgres as elevated
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencegripper committed Dec 20, 2024
1 parent 9f19530 commit e08af0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions images/windows/templates/windows-2019.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ build {
scripts = [
"${path.root}/../scripts/build/Install-VisualStudio.ps1",
"${path.root}/../scripts/build/Install-KubernetesTools.ps1",
"${path.root}/../scripts/build/Install-NET48-devpack.ps1"
"${path.root}/../scripts/build/Install-NET48-devpack.ps1",
"${path.root}/../scripts/build/Install-PostgreSQL.ps1",
]
valid_exit_codes = [0, 3010]
}
Expand Down Expand Up @@ -386,7 +387,6 @@ build {
"${path.root}/../scripts/build/Install-NSIS.ps1",
"${path.root}/../scripts/build/Install-CloudFoundryCli.ps1",
"${path.root}/../scripts/build/Install-Vcpkg.ps1",
"${path.root}/../scripts/build/Install-PostgreSQL.ps1",
"${path.root}/../scripts/build/Install-Bazel.ps1",
"${path.root}/../scripts/build/Install-AliyunCli.ps1",
"${path.root}/../scripts/build/Install-RootCA.ps1",
Expand Down
3 changes: 2 additions & 1 deletion images/windows/templates/windows-2022.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ build {
environment_vars = ["IMAGE_FOLDER=${var.image_folder}", "TEMP_DIR=${var.temp_dir}"]
scripts = [
"${path.root}/../scripts/build/Install-VisualStudio.ps1",
"${path.root}/../scripts/build/Install-KubernetesTools.ps1"
"${path.root}/../scripts/build/Install-KubernetesTools.ps1",
"${path.root}/../scripts/build/Install-PostgreSQL.ps1",
]
valid_exit_codes = [0, 3010]
}
Expand Down

0 comments on commit e08af0a

Please sign in to comment.