From 499b32b2195c05a5379577f9120576c31f071e76 Mon Sep 17 00:00:00 2001 From: Alan Janis Date: Tue, 7 May 2024 12:17:52 +0000 Subject: [PATCH] latest changes --- cableos/deps.pkr.hcl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cableos/deps.pkr.hcl diff --git a/cableos/deps.pkr.hcl b/cableos/deps.pkr.hcl new file mode 100644 index 0000000..48cd438 --- /dev/null +++ b/cableos/deps.pkr.hcl @@ -0,0 +1,19 @@ +} +source "null" "dependencies" { + communicator = "none" +} +build { + name = "cableos.deps" + sources = ["source.null.dependencies"] + + provisioner "shell-local" { + inline = [ + "cp ${var.source_iso_directory}/${var.debirf_live_bullseye_amd64_iso} ${var.image_path}/" + # "sudo mount -o loop ${var.image_path}/${var.debirf_live_bullseye_amd64_iso} ${var.debirf_tmp_path}" + "cp ${var.debirf_tmp_path}/${var.debirf_initrd_filename} ${var.image_path}/" + # "cp ${var.source_iso_directory}/${var.apollo_iso} ${var.http_path}/" + # "sudo umount -lf ${var.debirf_tmp_path}" + ] + inline_shebang = "/bin/bash -e" + } +}