net-edit

Edits the configuration of a defined virtual network. When the update is saved, both the libvirt-internal configuration and the Network configuration-XML are updated.

Syntax

Read syntax diagramSkip visual syntax diagram net-edit  --network <network-name><network-UUID>
Where:
<network-name>
Is the name of the virtual network.
<network-UUID>
Is the UUID of the virtual network.

Selected options

--network
Specifies the virtual network.

Usage

Managing virtual networks

Example

This example edits the configuration of net0.
# virsh net-edit net0