net-autostart

Enables or disables the automatic start of a virtual network when the libvirt daemon is started.

Syntax


1  net-autostart!  --network
2.1 <network-name>
2.1 <network-UUID>
1?  --disable
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.
--disable
Disables the automatic start of the virtual network when the libvirt daemon is started.

Usage

Managing virtual networks

Example

This example configures the automatic start of virtual network net0 when the libvirt daemon is started.
# virsh net-autostart net0