KVM Kernel Virtualization Machine on Rocky Linux 9: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 136: | Line 136: | ||
The above can be confirmed using the following commands | The above can be confirmed using the following commands | ||
* virsh net-destroy default (maybe there should be an 'in-between' option like net-stop, but oh well) : "Stops and Destroys" the virbr0 (defined by default.xml, which is not deleted) | *virsh net-destroy default (maybe there should be an 'in-between' option like net-stop, but oh well)<span> </span>: "Stops and Destroys" the virbr0 (defined by default.xml, which is not deleted) | ||
* virsh net-start default : Starts the virb0 (defined by the default.xml file) | *virsh net-start default<span> </span>: Starts the virb0 (defined by the default.xml file) | ||
* | * | ||
'''Rough Notes''' | '''Rough Notes''' | ||
Line 159: | Line 159: | ||
There is no "anti virsh net-define command", just delete the XML file and systemctl restart libvirtd.service | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
virsh [options]... [<command_string>] | virsh [options]... [<command_string>] |