1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-11 23:55:47 +02:00

virsh: add network activation example (#15292)

This commit is contained in:
Managor 2024-12-25 01:03:14 +02:00 committed by GitHub
parent d6fa16d4d7
commit f84238e164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,14 +8,14 @@
`virsh connect {{qemu:///system}}` `virsh connect {{qemu:///system}}`
- Activate a network named `default`:
`virsh net-start {{default}}`
- List all domains: - List all domains:
`virsh list --all` `virsh list --all`
- Dump guest configuration file:
`virsh dumpxml {{guest_id}} > {{path/to/guest.xml}}`
- Create a guest from a configuration file: - Create a guest from a configuration file:
`virsh create {{path/to/config_file.xml}}` `virsh create {{path/to/config_file.xml}}`