mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 21:15:20 +00:00
lxc: Fix 'autostart' doesn't take effect actually
lxcStartup forgot to call lxcAutostartConfigs. Fix it. This patch should fix https://bugzilla.redhat.com/show_bug.cgi?id=589863 .
This commit is contained in:
parent
6bd5a7c200
commit
b611a3fb47
@ -1928,6 +1928,9 @@ static int lxcStartup(int privileged)
|
||||
virHashForEach(lxc_driver->domains.objs, lxcReconnectVM, lxc_driver);
|
||||
|
||||
lxcDriverUnlock(lxc_driver);
|
||||
|
||||
lxcAutostartConfigs(lxc_driver);
|
||||
|
||||
return 0;
|
||||
|
||||
cleanup:
|
||||
|
Loading…
x
Reference in New Issue
Block a user