Skip to content

Commit

Permalink
Added quotes to domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekjanda committed May 1, 2015
1 parent 9ad45ea commit 80ad64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/defines/pool_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
" {",
" range 10.0.0.10 - 10.0.0.50;",
" }",
" option domain-name example.org;",
" option domain-name \"example.org\";",
" option subnet-mask 255.255.255.0;",
" option routers 10.0.0.1;",
" option ntp-servers 10.0.0.2;",
Expand Down
2 changes: 1 addition & 1 deletion templates/dhcpd.pool.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ subnet <%= @network %> netmask <%= @mask %> {
<% end -%>
<% if @domain_name && !@domain_name.strip.empty? -%>
option domain-name <%= @domain_name %>;
option domain-name "<%= @domain_name %>";
<% end -%>
option subnet-mask <%= @mask %>;
<% if @gateway && !@gateway.strip.empty? -%>
Expand Down

0 comments on commit 80ad64b

Please sign in to comment.