Add the ability to configure dhcp_static_mask

It may not be 255.255.255.0 under all environments,
so add the ability to configure it.

Change-Id: I1239fa8a2414febe79fa47e9d4d78b3769eab47e
This commit is contained in:
Yolanda Robla Mota 2016-10-03 10:29:33 +02:00
parent 988c4d7e74
commit 6816096706
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class infracloud::bifrost (
$default_network_interface = 'eth2',
$dhcp_pool_start = '10.10.16.144',
$dhcp_pool_end = '10.10.16.190',
$dhcp_static_mask = '255.255.255.0',
$network_interface = 'eth2',
$ipv4_gateway = '15.184.64.1',
$ipv4_nameserver = '8.8.8.8',

View File

@ -8,6 +8,7 @@ ipv4_nameserver: <%= @ipv4_nameserver %>
vlan_id: <%= @vlan %>
dhcp_pool_start: <%= @dhcp_pool_start %>
dhcp_pool_end: <%= @dhcp_pool_end %>
dhcp_static_mask: <=% @dhcp_static_mask %>
inventory_dhcp: true
inventory_dhcp_static_ip: true
dib_os_element: "ubuntu-minimal"