eject
Detach virtual media currently presented to the host, the inverse of mounting an ISO. Use it when a host should stop booting from mounted media; power state and boot order stay unchanged.
Instructions
Detach the virtual media presented to the host (inverse of mount_iso). GATED, reversible.
Needs KVM_PILOT_MCP_ALLOW_MEDIA + per-invocation approval. With nothing
attached it returns detached=false and says so — not an error. Touches
neither power nor the boot order: a host running from the ISO keeps running
until it reboots; on BMCs, set_boot_device picks what boots next.
Returns the typed act outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). |