
KVM / Libvirt StartVm
CertifiedStart a KVM domain
KVM / Libvirt StartVm
Start a KVM domain
Boots a libvirt domain if it isn't already running. Can optionally wait until the domain reaches RUNNING state using exponential retry up to timeToWait (default PT60S). Requires access to the target libvirt URI.
type: io.kestra.plugin.kvm.StartVmExamples
id: kvm_lifecycle_ssh
namespace: kvmtest.ssh
tasks:
- id: start_vm
type: io.kestra.plugin.kvm.StartVm
uri: qemu+ssh://root@167.99.104.163/system
name: "kestra-worker-nodes"
waitForRunning: true
Properties
name *string
Domain name
Name of the libvirt domain to start.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150timeToWait string
PT1MMax wait duration
Maximum time to wait for RUNNING when waitForRunning is true. Default PT60S.
uri string
Libvirt URI
waitForRunning booleanstring
falseWait for RUNNING
If true, polls domain state until RUNNING or timeout. Default false.
Outputs
name string
VM Name
Started domain name.
state string
VM State
Libvirt domain state after the start attempt.