Editing Virsh console
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
* Man page: https://www.libvirt.org/manpages/virsh.html#console | * Man page: https://www.libvirt.org/manpages/virsh.html#console | ||
− | == | + | == Examples == |
− | |||
virsh console [[YOUR_VM_NAME|MACHINE_NAME]] | virsh console [[YOUR_VM_NAME|MACHINE_NAME]] | ||
Connected to domain MACHINE_NAME | Connected to domain MACHINE_NAME | ||
Line 13: | Line 12: | ||
error: operation failed: Active console session exists for this domain | error: operation failed: Active console session exists for this domain | ||
− | + | Example using ID from VM, you can obtain it with <code>[[virsh list]]</code> | |
− | virsh console | + | virsh console 5 |
− | |||
virsh console | virsh console | ||
error: command 'console' requires <[[domain]]> option | error: command 'console' requires <[[domain]]> option | ||
Line 22: | Line 20: | ||
== [[Enable serial console]] == | == [[Enable serial console]] == | ||
{{enable serial console}} | {{enable serial console}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Kill old console == | == Kill old console == | ||
Line 58: | Line 35: | ||
* <code>[[virsh edit]]</code> | * <code>[[virsh edit]]</code> | ||
* [[Console]] | * [[Console]] | ||
− | |||
== See also == | == See also == | ||
Line 64: | Line 40: | ||
* {{virsh}} | * {{virsh}} | ||
− | [[Category: | + | [[Category:Linux]] |
[[Category:KVM]] | [[Category:KVM]] |
Advertising: