How To Guides > Virtualization Deployment > Virtualization

CLI: Enabling Virtualization in the CLI

You can use the virt command to creat or edit virtual machines.

Configuring virtual machines

[no] virt {enable|interface|vm|vnet|volume}

To enable the virtualization feature:

virt enable

To assign an interface to use as a VM access port:

virt interface <interface>

To configure a virtual machine:

virt vm <name> {arch|boot|comment|console|copy|feature|install|interface|memory|power|rename|storage|vcpus}

To configure or manage virtual networks:

virt vnet <name> {dhcp|forward|ip|vbridge}

To manage virtual storage volumes:

virt volume {create|fetch|file}