summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/recipes/templates
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-11-07 14:47:40 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-11-07 15:21:50 -0600
commit66ff05703ed260c744290fb604dbf31a0dfcd1da (patch)
treeda419af0daedff6ff8d182c233c0b0e06a404f2f /src/services/api/graphql/recipes/templates
parent7a85ac845fe5f88cf72472650c371e3fad03941a (diff)
downloadvyos-1x-66ff05703ed260c744290fb604dbf31a0dfcd1da.tar.gz
vyos-1x-66ff05703ed260c744290fb604dbf31a0dfcd1da.zip
http-api: T2768: update dhcp-server example for migration 5-to-6
(cherry picked from commit dc9a2821d063a96681d6cb1d962618829b71937d)
Diffstat (limited to 'src/services/api/graphql/recipes/templates')
-rw-r--r--src/services/api/graphql/recipes/templates/dhcp_server.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/api/graphql/recipes/templates/dhcp_server.tmpl b/src/services/api/graphql/recipes/templates/dhcp_server.tmpl
index 629ce83c1..70de43183 100644
--- a/src/services/api/graphql/recipes/templates/dhcp_server.tmpl
+++ b/src/services/api/graphql/recipes/templates/dhcp_server.tmpl
@@ -1,5 +1,5 @@
set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} default-router {{ default_router }}
-set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} dns-server {{ dns_server }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} name-server {{ name_server }}
set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} domain-name {{ domain_name }}
set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} lease {{ lease }}
set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} range {{ range }} start {{ start }}