Skip to content

Commit

Permalink
Moved scripts out of debian/scripts/cloudimg to
Browse files Browse the repository at this point in the history
the parent directory.
  • Loading branch information
alanbach committed Nov 20, 2023
1 parent 4933cc5 commit fd0c03f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions debian/debian-cloudimg.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ build {

provisioner "shell" {
environment_vars = concat(local.proxy_env, ["DEBIAN_FRONTEND=noninteractive", "DEBIAN_VERSION=${var.debian_version}", "BOOT_MODE=${var.boot_mode}"])
scripts = ["${path.root}/scripts/cloudimg/setup-boot.sh", "${path.root}/scripts/networking.sh"]
scripts = ["${path.root}/scripts/setup-boot.sh", "${path.root}/scripts/networking.sh"]
}

provisioner "shell" {
Expand All @@ -93,22 +93,22 @@ build {
"CLOUDIMG_CUSTOM_KERNEL=${var.kernel}",
"DEBIAN_FRONTEND=noninteractive"
]
scripts = ["${path.root}/scripts/cloudimg/install-custom-kernel.sh"]
scripts = ["${path.root}/scripts/install-custom-kernel.sh"]
}

provisioner "file" {
destination = "/tmp/"
sources = ["${path.root}/scripts/cloudimg/curtin-hooks"]
sources = ["${path.root}/scripts/curtin-hooks"]
}

provisioner "shell" {
environment_vars = ["CLOUDIMG_CUSTOM_KERNEL=${var.kernel}"]
scripts = ["${path.root}/scripts/cloudimg/setup-curtin.sh"]
scripts = ["${path.root}/scripts/setup-curtin.sh"]
}

provisioner "shell" {
environment_vars = ["DEBIAN_FRONTEND=noninteractive"]
scripts = ["${path.root}/scripts/cloudimg/cleanup.sh"]
scripts = ["${path.root}/scripts/cleanup.sh"]
}

post-processor "shell-local" {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fd0c03f

Please sign in to comment.