Fix variable references in Ubuntu 22 template (#7580)

This commit is contained in:
Vasilii Polikarpov
2023-05-12 11:50:17 +02:00
committed by GitHub
parent 0997df9069
commit b6c7afbb26

View File

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