Qcow2 Overlay Prep
@evrardjp/qcow2-overlay-prepv2026.06.29.1
01README
Generic qcow2 base image downloader and overlay disk preparer for Swamp.
02Models
@evrardjp/qcow2-overlay-prepv2026.06.29.1models/qcow2_overlay_prep.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| baseImagePath | string | Local path for the base qcow2 image. |
| baseImageUrl? | string | Optional URL to download the base image when baseImagePath is absent. |
| overlayPath | string | Local path for the qcow2 overlay disk. |
| diskSizeGb | number | Overlay virtual size in GiB. |
| fileAclUser? | string | Optional user to grant rw ACLs on the base and overlay images, e.g. qemu. |
fn prepare(forceDownload: boolean, recreateOverlay: boolean)
Ensure a base qcow2 image exists and create a qcow2 overlay disk.
| Argument | Type | Description |
|---|---|---|
| forceDownload | boolean | Re-download the base image even when it already exists. |
| recreateOverlay | boolean | Remove and recreate the overlay when it already exists. |
Resources
prep(infinite)— Result of base-image and qcow2 overlay preparation.
03Stats
A
100 / 100
Downloads
2
Archive size
3.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels