how to connect to a virt instance console using virsh

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-05-08 11:58:41 +02:00
parent 2baa33dc7e
commit 4da0c3b5ff

View file

@ -19,3 +19,10 @@ Remove the logical volume
```
sudo -i ssh virthost04.stg.phx2.fedoraproject.org 'lvremove /dev/vg_guests/bodhi-backend01.phx2.fedoraproject.org'
```
To connect to a virtual instance console you need to first ssh to the virthost box. For example
```
sudo -i ssh virthost04.stg.phx2.fedoraproject.org
(virthost04.stg.phx2.fedoraproject.org) virsh console osbs-node02.stg.phx2.fedoraproject.org
```