Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dhcpd/files/dhcpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

# Customized dhcp options
{%- for name, data in dhcpd.customized_options.items() %}
{%- if data.type == "space" %}
option space {{ name|replace('_', '-') }};
{%- else %}
option {{ name|replace('_', '-') }} code {{ data.code }} = {{ data.type }};
{%- endif %}
{%- endfor %}

# option definitions common to all supported networks...
Expand Down
6 changes: 6 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,9 @@ dhcpd:
auto_proxy_config:
code: 252
type: string
# set namespace for an ipxe option
ipxe:
type: space
ipxe.no-pxedhcp:
code: 176
type: unsigned integer 8
Loading