Manage image artifacts and show VM create progress
Stop relying on ad hoc rootfs handling by adding image promotion, managed work-seed fingerprint metadata, and lazy self-healing for older managed images after the first create. Rebuild guest images with baked SSH access, a guest NIC bootstrap, and default opencode services, and add the staged Void kernel/initramfs/modules workflow so void-exp uses a matching Void boot stack. Replace the opaque blocking vm.create RPC with a begin/status flow that prints live stages in the CLI while still waiting for vsock health and opencode on guest port 4096. Validate with GOCACHE=/tmp/banger-gocache go test ./... and live void-exp create/delete smoke runs.
This commit is contained in:
parent
9f09b0d25c
commit
30f0c0b54a
37 changed files with 2334 additions and 99 deletions
|
|
@ -3,8 +3,12 @@
|
|||
# Copy the values you want into ~/.config/banger/config.toml and replace
|
||||
# /abs/path/to/banger with your checkout path. Do not set default_base_rootfs
|
||||
# to the Void image yet; banger image build still assumes the Debian flow.
|
||||
# If you run `make void-kernel`, also merge the commented kernel/initrd/modules lines.
|
||||
|
||||
runtime_dir = "/abs/path/to/banger/runtime"
|
||||
default_image_name = "void-exp"
|
||||
default_rootfs = "/abs/path/to/banger/runtime/rootfs-void.ext4"
|
||||
default_work_seed = "/abs/path/to/banger/runtime/rootfs-void.work-seed.ext4"
|
||||
# default_kernel = "/abs/path/to/banger/runtime/void-kernel/boot/vmlinux-6.12.77_1"
|
||||
# default_initrd = "/abs/path/to/banger/runtime/void-kernel/boot/initramfs-6.12.77_1.img"
|
||||
# default_modules_dir = "/abs/path/to/banger/runtime/void-kernel/lib/modules/6.12.77_1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue