summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-18 16:08:23 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-18 16:08:23 +0200
commit58ac2e3b0735c616e6712e095a419c31b91c1e9d (patch)
treed8fbc75574688fc0109177e80a43176114bde74d /mcp/reclass/classes
parent26e7fdbefe5fe8b05fc70aecbd8192a4f7c7a1d4 (diff)
MaaS node: Fix dhcp_interface config
Explicitly configure dhcp_interface for mas01, in order to allow the interface name to be parametrized via "dhcp_interface" _param. Change-Id: I6a2750adc1941c0aa1f94ac9b39133b5bd2388c6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml
index 7fc45e23b..a7a502f50 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml
@@ -99,7 +99,11 @@ parameters:
linux:
network:
interface:
- dhcp_interface: ${_param:linux_dhcp_interface}
+ dhcp_interface:
+ enabled: true
+ name: ${_param:dhcp_interface}
+ type: eth
+ proto: dhcp
primary_interface:
enabled: true
name: ${_param:primary_interface}