mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
25 lines
597 B
Plaintext
25 lines
597 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * virt/virtual_machines/virt-accessing-vm-consoles.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="virt-accessing-serial-console_{context}"]
|
|
= Accessing the serial console of a virtual machine instance
|
|
|
|
The `virtctl console` command opens a serial console to the specified virtual
|
|
machine instance.
|
|
|
|
.Prerequisites
|
|
* The `virt-viewer` package must be installed.
|
|
* The virtual machine instance you want to access must be running.
|
|
|
|
.Procedure
|
|
|
|
* Connect to the serial console with `virtctl`:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ virtctl console <VMI>
|
|
----
|