diff options
author | 2012-07-09 09:52:55 -0600 | |
---|---|---|
committer | 2012-07-10 08:53:40 -0600 | |
commit | 4036aa91bff6482cf4c136c93277619fa8ec6f94 (patch) | |
tree | 2b16e9df2d72bc8e0cf0d57169ae8397b426ce9a /daemon | |
parent | util: Use current uid and gid if they are passed as -1 for virDirCreate (diff) | |
download | libvirt-4036aa91bff6482cf4c136c93277619fa8ec6f94.tar.gz libvirt-4036aa91bff6482cf4c136c93277619fa8ec6f94.tar.bz2 libvirt-4036aa91bff6482cf4c136c93277619fa8ec6f94.zip |
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
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/libvirtd.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in index 33724ee5f..b7afadf6e 100644 --- a/daemon/libvirtd.service.in +++ b/daemon/libvirtd.service.in @@ -6,6 +6,7 @@ [Unit] Description=Virtualization daemon Before=libvirt-guests.service +After=network.target [Service] EnvironmentFile=-/etc/sysconfig/libvirtd |