Make more intelligent use of the cache

Bust cache on the dynamic files
Use the cached builds for both virtualbox and Hyper-V
Hopefully improve loop downloading files to cache
This commit is contained in:
Greg Hellings
2024-04-15 03:53:58 +00:00
parent 2070d55b5d
commit b9f10c9c86
9 changed files with 19 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
source "virtualbox-iso" "amd64" {
iso_url = var.iso.url
iso_urls = [ "cache/${basename(var.iso.url)}", var.iso.url]
iso_target_path = "cache/${basename(var.iso.url)}"
iso_checksum = var.iso.checksum
output_directory = "output/virtualbox/${local.name}"