console
Displays the console of a virtual server.
Syntax
- <alternate-console-name>
- Is the device alias name of an alternative console that is configured for the virtual server.
- <VS>
- Is the name, the ID, or the UUID of the virtual server.
Selected options
- --force
- Disconnects any session in a case the connection is disrupted.
- --safe
- Only connects to the console if the host ensures exclusive access to the console.
Usage
Connecting to the console of a virtual serverExample
This example connects to
the console of virtual server
vserv1.# virsh console vserv1