set_boot_device
Set the next or persistent boot device via BootSourceOverride, or clear it with none. Check boot_options first to confirm the BMC allows the target.
Instructions
Set the next-boot (or persistent) boot device via BootSourceOverride. CONFIG MUTATION.
Gated by the config effect gate + per-invocation approval; denials come
back through the same path with a typed outcome (#234). none clears
the override; once=false makes it persistent; uefi=false selects
legacy BIOS mode where the target exposes it. A target the BMC doesn't
advertise fails fast (call boot_options first to see allowable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| once | No | True = next boot only; false = persistent until cleared. | |
| uefi | No | True = UEFI boot mode; false = legacy BIOS where the BMC offers it. | |
| device | Yes | Boot source to override with; 'none' clears the override. Must be in boot_options' allowable list. | |
| 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). |