summaryrefslogtreecommitdiff
path: root/src/conf_mode/dhcp_server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 18:27:55 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 18:28:10 +0200
commit220f375b111bfb4cccb02f7a4f893046f1aa5d36 (patch)
treef4dc7d23c2e881e8ba7836cc9c5a22376c76640d /src/conf_mode/dhcp_server.py
parenta6100cde7c9f045175b5c958055df59bab6afe1a (diff)
downloadvyos-1x-220f375b111bfb4cccb02f7a4f893046f1aa5d36.tar.gz
vyos-1x-220f375b111bfb4cccb02f7a4f893046f1aa5d36.zip
dhcp-server: T2230: rename template dir from dhcp -> dhcp-server
Diffstat (limited to 'src/conf_mode/dhcp_server.py')
-rwxr-xr-xsrc/conf_mode/dhcp_server.py2
1 files changed, 1 insertions, 1 deletions
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)