systemd: start libvirtd after network

Domains configured with autostart may fail to start if the host
network stack has not been started.  E.g. when using bridged
networking autostarting a domain can fail with

libvirtd[1403]: 2012-06-20 13:23:49.833+0000: 1485: error :
qemuAutostartDomain:177 : Failed to autostart VM 'test': Cannot get
interface MTU on 'br0': No such device
This commit is contained in:
Jim Fehlig 2012-07-09 09:52:55 -06:00
parent 67d79ad7ff
commit 4036aa91bf
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
[Unit]
Description=Virtualization daemon
Before=libvirt-guests.service
After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/libvirtd