feat: Add ISO cache for winctl.sh to skip re-downloads

Cache downloaded ISOs so new instances of the same Windows version skip
the 3-6 GB download. Adds `winctl cache` subcommands (save/list/rm/flush)
and auto-restores cached ISOs when creating new instances with --new.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Michel Abboud 2026-01-30 07:58:20 +00:00
parent 3330596879
commit 2b07b9cf07
4 changed files with 2076 additions and 65 deletions

6
.gitignore vendored
View file

@ -6,3 +6,9 @@ data/*
!data/*/
data/*/**
!data/*/.gitkeep
# Instance compose files and registry (generated at runtime)
instances/
# ISO cache (cached ISOs for faster instance creation)
cache/