Skip to content

Commit

Permalink
Move custom build scripts to custom files folder
Browse files Browse the repository at this point in the history
to reuse logic from bin/patch/ubuntu24-x64
  • Loading branch information
ruffsl committed Dec 11, 2024
1 parent 0b95703 commit 428fdce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/ubuntu/templates/ubuntu24-full-x64.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ provisioner "shell" {
provisioner "shell" {
environment_vars = ["HELPER_SCRIPTS=${var.helper_script_folder}", "INSTALLER_SCRIPT_FOLDER=${var.installer_script_folder}"]
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
scripts = ["${path.root}/../scripts/build/install-nvidia-driver.sh"]
scripts = ["${path.root}/../custom/files/install-nvidia-driver.sh"]
}

provisioner "shell" {
environment_vars = ["HELPER_SCRIPTS=${var.helper_script_folder}", "INSTALLER_SCRIPT_FOLDER=${var.installer_script_folder}"]
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
scripts = ["${path.root}/../scripts/build/install-nvidia-container.sh"]
scripts = ["${path.root}/../custom/files/install-nvidia-container.sh"]
}

// provisioner "shell" {
Expand Down

0 comments on commit 428fdce

Please sign in to comment.