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:
@@ -27,3 +27,5 @@ boot_command = [
|
||||
cd_files = [ "distros/centos-stream/8/disc/*" ]
|
||||
vbox_os_type = "RedHat8_64"
|
||||
HERPDERP
|
||||
|
||||
rm -f cache/CentOS-Stream-8-x86_64-latest-boot.iso
|
||||
|
||||
@@ -28,4 +28,6 @@ boot_command = [
|
||||
]
|
||||
cd_files = [ "distros/centos-stream/9/disc/*" ]
|
||||
vbox_os_type = "RedHat9_64"
|
||||
HERPDERP
|
||||
HERPDERP
|
||||
|
||||
rm -f cache/CentOS-Stream-9-latest-x86_64-boot.iso
|
||||
@@ -1,8 +1,8 @@
|
||||
distro = "debian"
|
||||
version = "11"
|
||||
iso = {
|
||||
url = "http://cdimage.debian.org/cdimage/archive/11.8.0/amd64/iso-cd/debian-11.8.0-amd64-netinst.iso"
|
||||
checksum = "d7a74813a734083df30c8d35784926deaa36bc41e5c0766388e9f591ab056b72"
|
||||
url = "https://cdimage.debian.org/cdimage/archive/11.9.0/amd64/iso-cd/debian-11.9.0-amd64-netinst.iso"
|
||||
checksum = "01c540225250d42cda3809d7130d0c27e934c8aca260d01a86d33dee19623b0f"
|
||||
}
|
||||
boot_command = [
|
||||
"<down>e<wait><down><down><down><end><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
|
||||
@@ -44,3 +44,4 @@ vbox_os_type = "Fedora_64"
|
||||
EOF
|
||||
|
||||
rm -r "${tmp}"
|
||||
rm -f "cache/${iso_name}"
|
||||
@@ -38,3 +38,4 @@ boot_wait = "60s"
|
||||
EOF
|
||||
|
||||
rm -r "${tmp}"
|
||||
rm -f "cache/latest-nixos-minima-x86_64-linux.iso"
|
||||
@@ -38,3 +38,4 @@ boot_wait = "60s"
|
||||
EOF
|
||||
|
||||
rm -r "${tmp}"
|
||||
rm -f "cache/latest-nixos-minimal-x86_64-linux.iso"
|
||||
|
||||
Reference in New Issue
Block a user