Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
linux/virt-viewer Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# virt-viewer
> Minimal graphical interface for a virtual machine (VM).
> Note: 'domain' refers to the name, UUID or ID for the existing VMs (See: tldr virsh).
> More information: <https://manned.org/virt-viewer>.
- Launch `virt-viewer` with a prompt to select running virtual machines:
`virt-viewer`
- Launch `virt-viewer` for a specific virtual machine by ID, UUID or name:
`virt-viewer "{{domain}}"`
- Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts:
`virt-viewer --reconnect --wait "{{domain}}"`
- Connect to a specific remote virtual machine over TLS:
`virt-viewer --connect "xen//{{url}}" "{{domain}}"`
- Connect to a specific remote virtual machine over SSH:
`virt-viewer --connect "qemu+ssh//{{username}}@{{url}}/system" "{{domain}}"`