mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
:_mod-docs-content-type: ASSEMBLY
|
|
[id="virt-using-the-cli-tools"]
|
|
= Using the CLI tools
|
|
include::_attributes/common-attributes.adoc[]
|
|
:context: virt-using-the-cli-tools
|
|
:toclevels: 3
|
|
|
|
toc::[]
|
|
|
|
You can manage {VirtProductName} resources by using the `virtctl` command line tool.
|
|
|
|
You can access and modify virtual machine (VM) disk images by using the link:https://libguestfs.org[`libguestfs`] command line tool. You deploy `libguestfs` by using the `virtctl libguestfs` command.
|
|
|
|
[id="installing-virtctl_virt-using-the-cli-tools"]
|
|
== Installing virtctl
|
|
|
|
To install `virtctl` on {op-system-base-full} 9, Linux, Windows, and MacOS operating systems, you download and install the `virtctl` binary file.
|
|
|
|
To install `virtctl` on {op-system-base} 8, you enable the {VirtProductName} repository and then install the `kubevirt-virtctl` package.
|
|
|
|
include::modules/virt-installing-virtctl-client.adoc[leveloffset=+2]
|
|
|
|
include::modules/virt-installing-virtctl-client-yum.adoc[leveloffset=+2]
|
|
|
|
include::modules/virt-virtctl-commands.adoc[leveloffset=+1]
|
|
|
|
include::modules/virt-deploying-libguestfs-with-virtctl.adoc[leveloffset=+1]
|
|
|
|
include::modules/virt-about-libguestfs-tools-virtctl-guestfs.adoc[leveloffset=+2]
|
|
|
|
[id="using_ansible_{context}"]
|
|
== Using Ansible
|
|
To use the Ansible collection for {VirtProductName}, see link:https://console.redhat.com/ansible/automation-hub/repo/published/redhat/openshift_virtualization[Red{nbsp}Hat Ansible Automation Hub] ({hybrid-console}).
|
|
|