From 7d91e05366e5c1d77eb052b1a544a3923d4d2bd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Tue, 10 Sep 2019 18:26:50 +0200
Subject: [PATCH] fix netcapture.json generation (regression)

---
 12.Netcapture/1.Install_Netcapture/0_setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/12.Netcapture/1.Install_Netcapture/0_setup.py b/12.Netcapture/1.Install_Netcapture/0_setup.py
index f2c7753a..c00381d6 100644
--- a/12.Netcapture/1.Install_Netcapture/0_setup.py
+++ b/12.Netcapture/1.Install_Netcapture/0_setup.py
@@ -31,6 +31,7 @@ def write_netcapture_conf():
     conf.set('docker_registry_login', utils.get_conf('NETCAPTURE_DOCKER_LOGIN', ''))
     conf.set('docker_registry_password', utils.get_conf('NETCAPTURE_DOCKER_PWD', ''))
     conf.set('campusmanager_url', 'https://%s' % utils.get_conf('CM_SERVER_NAME', ''))
+    conf.path = '/etc/miris/netcapture.json'
     conf.write()
     return conf.get()
 
-- 
GitLab