Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KSZK
Sysadmin
Kubernetes
Router Ansible Role
Commits
5c5100da
Commit
5c5100da
authored
Sep 23, 2021
by
rlacko
💬
Browse files
Add mtu to dhcp
parent
5d011c95
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/etc/dhcp/dhcpd.conf.j2
View file @
5c5100da
...
...
@@ -12,7 +12,10 @@ subnet {{ dhcp.subnet }} netmask {{ dhcp.netmask }} {
range {{ dhcp.range.start }} {{ dhcp.range.end }};
option routers {{ dhcp.router }};
option domain-name-servers {{ dhcp.name_servers }};
{% if dhcp.search %}
{% if dhcp.mtu is defined %}
option interface-mtu {{ dhcp.mtu }};
{% endif %}
{% if dhcp.search is defined %}
option domain-name "{{ dhcp.search }}";
{% endif %}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment