mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 17:15:40 +02:00
virsh: add network activation example (#15292)
This commit is contained in:
parent
d6fa16d4d7
commit
f84238e164
1 changed files with 4 additions and 4 deletions
|
@ -8,14 +8,14 @@
|
|||
|
||||
`virsh connect {{qemu:///system}}`
|
||||
|
||||
- Activate a network named `default`:
|
||||
|
||||
`virsh net-start {{default}}`
|
||||
|
||||
- List all domains:
|
||||
|
||||
`virsh list --all`
|
||||
|
||||
- Dump guest configuration file:
|
||||
|
||||
`virsh dumpxml {{guest_id}} > {{path/to/guest.xml}}`
|
||||
|
||||
- Create a guest from a configuration file:
|
||||
|
||||
`virsh create {{path/to/config_file.xml}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue