net-define
Creates a persistent definition of a virtual network.
Syntax
- <XML-filename>
- Is the name of the network configuration-XML file.
Selected options
- --file
- specifies the network configuration-XML file.
Usage
Managing virtual networksExample
This example defines the virtual network that is configured by the net0.xml
network configuration-XML file.
# virsh net-define net0.xml