mount_iso
Attach a local or remote ISO as virtual media to a KVM/BMC-managed host for OS installs or recovery; optionally present it as a USB drive instead of a CD-ROM.
Instructions
Mount an ISO as virtual media on the host. GATED act (media effect gate); reversible.
source is a local path or an http(s):// URL; usb=true attaches as a
USB flash drive instead of a CD-ROM. Needs KVM_PILOT_MCP_ALLOW_MEDIA +
per-invocation approval. Mounting bumps the frame generation, so a mouse click
planned against the pre-mount screen is invalidated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usb | No | True presents it as a USB flash drive instead of a CD-ROM. | |
| name | No | Image name to store it under on the device; defaults to the source's basename. | |
| source | Yes | Local path on the server host, or an http(s):// URL the device fetches/streams. | |
| confirm | No | Per-invocation approval when the client cannot prompt a human: set true to approve this exact call under the operator's standing policy. Leave false when the client supports elicitation (a human is asked). Never pre-set it speculatively; a denial returns outcome=not_confirmed. | |
| profile | No | Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE). |