×

The virtctl client is a command-line utility for managing container-native virtualization resources.

Install the client to your system by enabling the container-native virtualization repository and installing the kubevirt-virtctl package.

Enabling container-native virtualization repositories

Red Hat offers container-native virtualization repositories for both Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 7:

  • Red Hat Enterprise Linux 8 repository: cnv-2.1-for-rhel-8-x86_64-rpms

  • Red Hat Enterprise Linux 7 repository: rhel-7-server-cnv-2.1-rpms

The process for enabling the repository in subscription-manager is the same in both platforms.

Procedure
  • Use subscription manager to enable the appropriate container-native virtualization repository for your system:

    # subscription-manager repos --enable <repository>

Installing the virtctl client

Install the virtctl client from the kubevirt-virtctl package.

Procedure
  • Install the kubevirt-virtctl package:

    # yum install kubevirt-virtctl

See also: Using the CLI tools for container-native virtualization.