From 0c5ce72fd3d5d63224d5cfcbb26298715e17a5f2 Mon Sep 17 00:00:00 2001
From: Stephane Armanet <stephanearmanet@esss.lu.se>
Date: Mon, 9 Sep 2019 10:49:39 +0200
Subject: [PATCH] manage smb interface using variable

---
 templates/smb.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2
index f2eec6f..3977f24 100644
--- a/templates/smb.conf.j2
+++ b/templates/smb.conf.j2
@@ -5,7 +5,7 @@
 
         log level = 3
         log file = /var/log/samba/samba.log
-        interfaces = eth1
+        interfaces = "{{ smb_interface }}"
 
         # AD binding
         passdb backend = tdbsam
-- 
GitLab