Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.02 KB

cnv-virtctl-commands.adoc

File metadata and controls

41 lines (29 loc) · 1.02 KB

Virtctl client commands

The virtctl client is a command-line utility for managing {CNVProductName} resources. The following table contains the virtctl commands used throughout the {CNVProductName} documentation.

Table 1. virtctl client commands
Command Description

virtctl start <vm>

Start a virtual machine.

virtctl stop <vm>

Stop a virtual machine.

virtctl restart <vm>

Restart a virtual machine.

virtctl expose <vm>

Create a service that forwards a designated port of a virtual machine or virtual machine instance and expose the service on the specified port of the node.

virtctl console <vmi>

Connect to a serial console of a virtual machine instance.

virtctl vnc <vmi>

Open a VNC connection to a virtual machine instance.

virtctl image-upload <…​>

Upload a virtual machine image to a PersistentVolumeClaim.