# salt.runners.virt

Control virtual machines via Salt

`salt.runners.virt.` `force_off`(name)

  Force power down the named virtual machine

`salt.runners.virt.` `hyper_info`(hyper=None)

  Return information about the hypervisors connected to this master

`salt.runners.virt.` `init`(name, cpu, mem, image, hyper=None, seed=True, nic='default', install=True)

  Initialize a new vm

`salt.runners.virt.` `list`(hyper=None, quiet=False)

  List the virtual machines on each hyper

`salt.runners.virt.` `migrate`(name, target='')

  Migrate a vm from one hypervisor to another. This routine will just start the migration and display information on how to look up the progress

`salt.runners.virt.` `next_hyper`()

  Return the hypervisor to use for the next autodeployed vm

`salt.runners.virt.` `pause`(name)

  Pause the named vm

`salt.runners.virt.` `purge`(name)

  Destroy the named vm

`salt.runners.virt.` `query`(hyper=None, quiet=False)

  Query the virtual machines

`salt.runners.virt.` `reset`(name)

  Force power down and restart an existing vm

`salt.runners.virt.` `resume`(name)

  Resume a paused vm

`salt.runners.virt.` `start`(name)

  Start a named virtual machine

`salt.runners.virt.` `vm_info`(name, quiet=False)

  Return the information on the named vm

Current Salt release: 0.17.1

#### Previous topic

salt.runners.thin

#### Next topic

salt.runners.winrepo

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd