1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Adding new file to download virtctl from web console

This commit is contained in:
Andrew Burden
2020-08-27 14:17:22 +02:00
committed by openshift-cherrypick-robot
parent a17daa6034
commit 35a2a87b5c
4 changed files with 58 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
// Module included in the following assemblies:
//
// install/virt-installing-virtctl.adoc
// virt/install/virt-installing-virtctl.adoc
[id="virt-enabling-virt-repos_{context}"]
= Enabling {VirtProductName} repositories

View File

@@ -0,0 +1,49 @@
// Module included in the following assemblies:
//
// virt/install/virt-installing-virtctl.adoc
[id="virt-installing-virtctl-client-web_{context}"]
= Installing the `virtctl` client from the web console
You can download the `virtctl` client from the Red Hat Customer Portal, which is linked to in your {VirtProductName} web console in the *Command Line Tools* page.
.Prerequisites
* You must have an activated {product-title} subscription to access the download page on the Customer Portal.
.Procedure
. Access the Customer Portal by clicking the image:question-circle.png[title="Help"] icon, which is in the upper-right corner of the web console, and selecting *Command Line Tools*.
. Ensure you have the appropriate version for your cluster selected from the *Version:* list.
. Download the `virtctl` client for your distribution. All downloads are in `tar.gz` format.
. Extract the tarball. The following CLI command extracts it into the same directory as the tarball and is applicable for all distributions:
+
[source,terminal]
----
$ tar -xvf <virtctl-version-distribution.arch>.tar.gz
----
. For Linux and macOS:
.. Navigate the extracted folder hierachy and make the `virtctl` binary executable:
+
[source,terminal]
----
$ chmod +x <virtctl-file-name>
----
.. Move the `virtctl` binary to a directory on your PATH.
... To check your path, run:
+
[source,terminal]
----
$ echo $PATH
----
. For Windows users:
.. Navigate the extracted folder hierarchy and double-click the `virtctl` executable file to install the client.

View File

@@ -1,6 +1,6 @@
// Module included in the following assemblies:
//
// install/virt-installing-virtctl.adoc
// virt/install/virt-installing-virtctl.adoc
[id="virt-installing-virtctl-client_{context}"]
= Installing the `virtctl` client

View File

@@ -5,13 +5,16 @@ include::modules/virt-document-attributes.adoc[]
toc::[]
The `virtctl` client is a command-line utility for managing {VirtProductName}
resources.
resources. It is available for Linux, macOS, and Windows distributions.
Install the client to your system by enabling the {VirtProductName} repository and
installing the `kubevirt-virtctl` package.
You can install the `virtctl` client from the {VirtProductName} web console or by enabling the {VirtProductName} repository and installing the `kubevirt-virtctl` package.
include::modules/virt-installing-virtctl-client-web.adoc[leveloffset=+1]
include::modules/virt-enabling-virt-repos.adoc[leveloffset=+1]
include::modules/virt-installing-virtctl-client.adoc[leveloffset=+1]
See also:
[id="virt-installing-virtctl-addtl-resources"]
== Additional resources
xref:../../virt/virt-using-the-cli-tools.adoc#virt-using-the-cli-tools[Using the CLI tools] for {VirtProductName}.