
KVM / Libvirt StartVm
CertifiedStart a KVM domain
KVM / Libvirt StartVm
Certified
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.
yaml
type: io.kestra.plugin.kvm.StartVmExamples
yaml
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 *Requiredstring
Domain name
Name of the libvirt domain to start.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeToWait string
Default
PT1MMax wait duration
Maximum time to wait for RUNNING when waitForRunning is true. Default PT60S.
uri string
Libvirt URI
waitForRunning booleanstring
Default
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.