0.1.6-DEV-20200214-22546

------------------------
    * ADD:
      - added support for statically assigned dhcp nodes
This commit is contained in:
Chris Hammer 2020-02-14 02:25:52 -05:00
parent 6009270a7e
commit 21dd4cbc34

View File

@ -29,4 +29,14 @@ subnet {{ dhcp_networks[dhcp_deploy_to].subnet }} netmask {{ dhcp_networks[dhcp_
filename "{{ dhcp_pxeboot_file }}"; filename "{{ dhcp_pxeboot_file }}";
next-server {{ dhcp_networks[dhcp_deploy_to].pxeboot }}; next-server {{ dhcp_networks[dhcp_deploy_to].pxeboot }};
### STATIC ASSIGNMENTS ###
{% for host in static_assignments %}
host {{ host }}
{
hardware ethernet {{ static_assignments[host]['mac_address'] }};
fixed-address {{ static_assignments[host]['ip_address'] }};
}
{% endfor %}
} }