Use right parameter ipv4_gateway

The external gateway is passed with the parameter
gateway_ip, this ipv4_gateway was the old one, and
hardcoded on the manifest.

Change-Id: I0eb532bf423e45ac683fc6bf23d80699d074bd17
This commit is contained in:
Yolanda Robla Mota 2016-10-13 14:10:40 +02:00
parent 7b481ea0a0
commit 52fab00daa
2 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,6 @@ class infracloud::bifrost (
$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',
$ipv4_subnet_mask = '255.255.224.0',
$dib_dev_user_password = undef,

View File

@ -3,7 +3,7 @@ node_default_network_interface: <%= @default_network_interface %>
node_network_info: "{}"
disable_dnsmasq_dns: true
ipv4_subnet_mask: <%= @ipv4_subnet_mask %>
ipv4_gateway: <%= @ipv4_gateway %>
ipv4_gateway: <%= @gateway_ip %>
ipv4_nameserver: <%= @ipv4_nameserver %>
vlan_id: <%= @vlan %>
dhcp_pool_start: <%= @dhcp_pool_start %>