From 7ca861b77511ebf119e280c9d254e012b4a87e97 Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Fri, 22 Dec 2017 10:14:30 +0300 Subject: [PATCH] fix render call --- contrail-agent/hooks/contrail_agent_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrail-agent/hooks/contrail_agent_utils.py b/contrail-agent/hooks/contrail_agent_utils.py index 3128984..07909d5 100644 --- a/contrail-agent/hooks/contrail_agent_utils.py +++ b/contrail-agent/hooks/contrail_agent_utils.py @@ -462,7 +462,7 @@ def fix_libvirt(): if lsb_release()['DISTRIB_CODENAME'] == 'xenial': # fix libvirt tempate for xenial - render("TEMPLATE.qemu", "/etc/apparmor.d/libvirt/TEMPLATE.qemu") + render("TEMPLATE.qemu", "/etc/apparmor.d/libvirt/TEMPLATE.qemu", dict()) service_restart("apparmor")