mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 13:59:43 +00:00
Update cheatsheets
This commit is contained in:
31
tldr/virt-viewer
Normal file
31
tldr/virt-viewer
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
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 also: `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}}"`
|
||||
Reference in New Issue
Block a user