Wait for virtual machine status

Description

wait for virtual machines to reach the desired status (stopped, running …)

Options

optiondescriptionAllowed values
vmidthe virtual machine id you want to wait for reaching the desired statusstring
namethe virtual machine name you want to wait for reaching the desired statusstring
filter-namea regex applied on virtual machine name you want to wait for reaching the desired statusstring
statusthe desired statusstring
Info

vmid, name and filter-name are mutualy exclusive

Examples

  • wait for every virtual machine with name start with test to be stopped
proxcli vms wait_for_status --filter-name "^test" --status "stopped"