net-autostart --network network-identifier --disable | Name | Required? | Description | 
|---|---|---|
| --networknetwork-identifier | 
										required
									 | 
										The name or UUID for the virtual network being configured.
									 
										The word "--network" itself is optional.
									 | 
| --disable | 
										optional
									 | 
										Disables the automatic starting of the virtual network.
									 | 
virsh # net-autostart default --disable
virsh # net-autostart --network default --disable
virsh # net-autostart bfbc4c69-7d6a-cc9a-904c-09910ce179c0 --disable
virsh # net-autostart --network bfbc4c69-7d6a-cc9a-904c-09910ce179c0 --disable
virsh # net-autostart default
virsh # net-autostart --network default
<network> <name>examplenetwork</name> <bridge name="virbr100" /> <forward mode="route" /> <ip address="10.10.120.1" netmask="255.255.255.0" /> </network>
# ls -al /root/examplenetwork.xml -rw-r--r--. 1 root root 162 Nov 7 16:43 /root/examplenetwork.xml
# virsh
Welcome to virsh, the virtualization interactive terminal.
Type:  'help' for help with commands
       'quit' to quitvirsh # net-list Name State Autostart ----------------------------------------- default active yes
virsh # net-define /root/examplenetwork.xml Network examplenetwork defined from /root/examplenetwork.xml
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes examplenetwork inactive no <-- this is the important piece
virsh # net-autostart examplenetwork Network examplenetwork marked as autostarted
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes examplenetwork inactive yes <-- this is the important piece
# net-autostart --disable examplenetwork Network examplenetwork unmarked as autostarted
virsh # net-list --all Name State Autostart ----------------------------------------- default active yes examplenetwork inactive no <-- this is the important piece