@edgible-team/sdk
    Preparing search index...

    Interface ChooseImageOptions

    Options for chooseImage.

    interface ChooseImageOptions {
        cpus?: number;
        explicitBaseImagePath?: string;
        images: VmImagePaths;
        logger?: Logger;
        memory?: number;
        projectRoot: string;
        qemuBinary?: string;
        qemuVersionOf?: (binary: string) => string;
    }
    Index

    Properties

    cpus?: number

    vCPUs the VM will boot with; must match the warm snapshot. Default 2.

    explicitBaseImagePath?: string

    Explicit base image override — short-circuits auto-detection.

    images: VmImagePaths

    Candidate image locations (see defaultImagePaths).

    logger?: Logger
    memory?: number

    Memory the VM will boot with; must match the warm snapshot. Default 4096.

    projectRoot: string

    Repo root containing cli/, agent-v2/, integration_tests/.

    qemuBinary?: string

    QEMU binary the VM will use. Default: detected from the host.

    qemuVersionOf?: (binary: string) => string

    Injectable for tests; defaults to running <binary> --version.