commit | 4f019781dc610e0fad9418846fdc410eaff068fb | [log] [tgz] |
---|---|---|
author | Jan Cach <cach.jan@gmail.com> | Thu Oct 11 16:09:34 2018 +0200 |
committer | Jan Cach <cach.jan@gmail.com> | Thu Oct 11 16:10:42 2018 +0200 |
tree | b19fa7b7d9ff21ea192214f15827284e96367054 | |
parent | 793dbd140135c37160c25f9d0f3e9effaee5c26e [diff] |
Set mgmt interfaces to dhcp in contrail-labs Closes-bug: #PROD-23882 Change-Id: I0d9faa34f92d4e771e28a7fe7e9ab1e33f3990ff
diff --git a/classes/cluster/os-ha-contrail/infra/init.yml b/classes/cluster/os-ha-contrail/infra/init.yml index b54cf03..99a06af 100755 --- a/classes/cluster/os-ha-contrail/infra/init.yml +++ b/classes/cluster/os-ha-contrail/infra/init.yml
@@ -6,3 +6,7 @@ infra_config_address: 172.16.10.100 infra_config_hostname: cfg01 linux_system_repo_mcp_salt_version: nightly + linux_dhcp_interface: + enabled: true + type: eth + proto: dhcp
diff --git a/classes/cluster/os-ha-contrail/opencontrail/control.yml b/classes/cluster/os-ha-contrail/opencontrail/control.yml index 4dff206..22eca9c 100644 --- a/classes/cluster/os-ha-contrail/opencontrail/control.yml +++ b/classes/cluster/os-ha-contrail/opencontrail/control.yml
@@ -35,6 +35,7 @@ linux: network: interface: + eth0: ${_param:linux_dhcp_interface} eth1: enabled: true type: eth
diff --git a/classes/cluster/os-ha-contrail/openstack/compute.yml b/classes/cluster/os-ha-contrail/openstack/compute.yml index 0467c74..02216b9 100755 --- a/classes/cluster/os-ha-contrail/openstack/compute.yml +++ b/classes/cluster/os-ha-contrail/openstack/compute.yml
@@ -38,6 +38,7 @@ - src: '/etc/network/interfaces.d/50-cloud-init.cfg' dst: '/etc/network/interfaces' interface: + ens3: ${_param:linux_dhcp_interface} ens4: enabled: true ipflush_onchange: true
diff --git a/classes/cluster/os-ha-contrail/openstack/control.yml b/classes/cluster/os-ha-contrail/openstack/control.yml index 51bf18d..5d853ed 100755 --- a/classes/cluster/os-ha-contrail/openstack/control.yml +++ b/classes/cluster/os-ha-contrail/openstack/control.yml
@@ -51,6 +51,7 @@ version: latest network: interface: + ens3: ${_param:linux_dhcp_interface} ens4: enabled: true type: eth