0.1.6-DEV-20200214-22546
------------------------ * ADD: - added support for statically assigned dhcp nodes
This commit is contained in:
parent
6009270a7e
commit
21dd4cbc34
@ -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 %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user