summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/dhcp-server/daemon.tmpl (renamed from data/templates/dhcp/daemon.tmpl)0
-rw-r--r--data/templates/dhcp-server/dhcpd.conf.tmpl (renamed from data/templates/dhcp/dhcpd.conf.tmpl)0
-rwxr-xr-xsrc/conf_mode/dhcp_server.py2
3 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp/daemon.tmpl b/data/templates/dhcp-server/daemon.tmpl
index f88032d38..f88032d38 100644
--- a/data/templates/dhcp/daemon.tmpl
+++ b/data/templates/dhcp-server/daemon.tmpl
diff --git a/data/templates/dhcp/dhcpd.conf.tmpl b/data/templates/dhcp-server/dhcpd.conf.tmpl
index 5f5129451..5f5129451 100644
--- a/data/templates/dhcp/dhcpd.conf.tmpl
+++ b/data/templates/dhcp-server/dhcpd.conf.tmpl
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py
index c4b0c4074..3d75414f5 100755
--- a/src/conf_mode/dhcp_server.py
+++ b/src/conf_mode/dhcp_server.py
@@ -603,7 +603,7 @@ def generate(dhcp):
return None
# Prepare Jinja2 template loader from files
- tmpl_path = os.path.join(vyos_data_dir['data'], 'templates', 'dhcp')
+ tmpl_path = os.path.join(vyos_data_dir['data'], 'templates', 'dhcp-server')
fs_loader = FileSystemLoader(tmpl_path)
env = Environment(loader=fs_loader)