Skip to content

Commit 8d44942

Browse files
committed
fix(deployment): use BIB-canonical type names (vhd not vhdx, drop wsl)
Operator's first end-to-end OCI build succeeded but BIB rejected 3 of 5 requested formats: * vhdx -- BIB doesn't recognize this name; it's `vhd` (Hyper-V) * wsl -- BIB doesn't have a wsl type at all; the supported set is ami, anaconda-iso, bootc-installer, gce, iso, ova, pxe-tar-xz, qcow2, raw, vhd, vmdk. WSL2 distributions need a different tooling path (podman save + tarball repack outside BIB). Update [deployment] target_* keys to match BIB's accepted types exactly so the driver's `target_<key> -> bib_type=<key>` translation works without aliases. Drop target_wsl entirely; add target_anaconda_iso (was off, now on -- the operator's last run already proved the anaconda flow works), target_vmdk, target_gce, target_pxe_tar_xz.
1 parent ed405ce commit 8d44942

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

usr/share/mios/mios.toml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,21 @@ minimal_name = "ghcr.io/mios-dev/mios-minimal"
248248
# image at ~6 GB compressed, expect ~30-40 GB output.
249249
# ----------------------------------------------------------------------------
250250
[deployment]
251-
target_vhdx = true # Hyper-V VM disk (Windows guest VMs, Azure)
252-
target_qcow2 = true # QEMU/KVM disk for libvirt / Proxmox / GNOME Boxes
253-
target_iso = true # bootable ISO (live + installer)
254-
target_raw = true # raw disk image (write directly to disk; bare-metal)
255-
target_wsl = true # WSL2 rootfs tarball (sibling MiOS-DEV deployments)
256-
target_ami = false # AWS AMI (default OFF; needs aws-cli + signing)
257-
target_ova = false # vSphere OVA (default OFF; needs ovftool)
258-
target_anaconda_iso = false # Anaconda-based installer ISO (default OFF; slower build)
251+
# BIB-supported types: ami, anaconda-iso, bootc-installer, gce, iso,
252+
# ova, pxe-tar-xz, qcow2, raw, vhd, vmdk. Names below map directly
253+
# (target_vhd → vhd, etc.) per the resolver's `target_<bib_type>`
254+
# convention. There is no `wsl` BIB type; for WSL2 distributions
255+
# we use podman save + post-process the tarball outside of BIB.
256+
target_qcow2 = true # QEMU/KVM disk (libvirt / Proxmox / GNOME Boxes)
257+
target_iso = true # bootc-installer ISO (live + installer)
258+
target_anaconda_iso = true # Anaconda-based installer ISO (Fedora-style)
259+
target_raw = true # raw disk image (dd-able to USB / bare-metal)
260+
target_vhd = true # Hyper-V VM disk (Windows guest VMs, Azure)
261+
target_vmdk = false # VirtualBox / VMware
262+
target_ami = false # AWS AMI (needs aws-cli + signing)
263+
target_ova = false # vSphere OVA (needs ovftool)
264+
target_gce = false # Google Compute Engine
265+
target_pxe_tar_xz = false # PXE network boot tarball
259266

260267
# ----------------------------------------------------------------------------
261268
# [hwcaps] -- x86-64 microarchitecture level for runtime-selected

0 commit comments

Comments
 (0)