# subscription-manager repos --enable <repository>
virtctl
client
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.
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.2-for-rhel-8-x86_64-rpms
Red Hat Enterprise Linux 7 repository: rhel-7-server-cnv-2.2-rpms
The process for enabling the repository in subscription-manager
is the same
in both platforms.
Use subscription manager
to enable the appropriate container-native virtualization repository for
your system:
# subscription-manager repos --enable <repository>
virtctl
clientInstall the virtctl
client from the kubevirt-virtctl
package.
Install the kubevirt-virtctl
package:
# yum install kubevirt-virtctl
See also: Using the CLI tools for container-native virtualization.