net-undefine
--network
network-identifier
Name | Required? | Description |
---|---|---|
--network network-identifier
|
required
|
The name or UUID of the virtual network to remove.
The word "--network" itself is optional.
|
virsh # net-undefine examplenetwork
virsh # net-undefine --network examplenetwork
virsh # net-undefine b7005dec-be1a-fe9a-338a-0cb1301dfcfd
virsh # net-undefine --network b7005dec-be1a-fe9a-338a-0cb1301dfcfd
virsh # net-list
Name State Autostart
-----------------------------------------
default active yes
examplenetwork active yes
# net-destroy examplenetwork
Network examplenetwork destroyed
virsh # net-undefine examplenetwork <-- this is net-undefine in action Network examplenetwork has been undefined
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes