5

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?

Jens Erat
  • 1,530
  • 2
  • 12
  • 27

1 Answers1

10

Autostarting networks is very easy and similar to autostarting domains: simply run net-autostart instead of net-start.

virsh net-autostart default
Jens Erat
  • 1,530
  • 2
  • 12
  • 27