net-undefine

Deletes the persistent libvirt definition of a virtual network.

Syntax


1  net-undefine!  --network
2.1 <network-name>
2.1 <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 removes the virtual network with name net0 from the libvirt definition.
# virsh net-undefine net0