Skip to main content

Qcow2 Overlay Prep

@evrardjp/qcow2-overlay-prepv2026.06.29.1· 4d agoMODELS
01README

Generic qcow2 base image downloader and overlay disk preparer for Swamp.

02Models1
@evrardjp/qcow2-overlay-prepv2026.06.29.1models/qcow2_overlay_prep.ts

Global Arguments

ArgumentTypeDescription
baseImagePathstringLocal path for the base qcow2 image.
baseImageUrl?stringOptional URL to download the base image when baseImagePath is absent.
overlayPathstringLocal path for the qcow2 overlay disk.
diskSizeGbnumberOverlay virtual size in GiB.
fileAclUser?stringOptional 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.
ArgumentTypeDescription
forceDownloadbooleanRe-download the base image even when it already exists.
recreateOverlaybooleanRemove 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