[ubuntu] Fix pwsh installation for ubuntu-minimal (#9144)

This commit is contained in:
Shamil Mubarakshin
2024-01-10 13:59:08 +01:00
committed by GitHub
parent 10ddf030ed
commit a89e382279

View File

@@ -241,7 +241,7 @@ build {
}
provisioner "shell" {
environment_vars = ["DEBIAN_FRONTEND=noninteractive", "HELPER_SCRIPTS=${local.helper_script_folder}"]
environment_vars = ["DEBIAN_FRONTEND=noninteractive", "HELPER_SCRIPTS=${local.helper_script_folder}", "INSTALLER_SCRIPT_FOLDER=${local.installer_script_folder}"]
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
scripts = ["${path.root}/../scripts/build/install-powershell.sh"]
}