How to automatically start virtual Networks using virsh?
8,884
Autostarting networks is very easy and similar to autostarting domains: simply run net-autostart
instead of net-start
.
virsh net-autostart default
Related videos on Youtube
Author by
Jens Erat
Technology savvy, with love of getting (and keeping) large systems running. Convinced of free/libre software. Nerd in computer sciences, but find me outdoors or practicing martial arts in my spare time. Also find me on Xing and LinkedIn.
Updated on September 18, 2022Comments
-
Jens Erat almost 2 years
Following this answers, configuring domains to autostart using
virsh
is easy; set aside they fail with following error message:error: Failed to start domain [name] error: internal error Network 'default' is not active.
I can start this network manually by running
virsh net-start default
after restarting the host. How to also autostart the "default" network?