summaryrefslogtreecommitdiffstats
path: root/mcp/reclass
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-29 13:22:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-29 13:22:21 +0000
commit1e1ec2526f063b6787e0980c17179ba0ee1a8174 (patch)
treec3f42a9a38b62982d7927110d0fc14eee542e910 /mcp/reclass
parentfedeebd6ee0e3a342777812b7ea90bd4988787ad (diff)
parent4d604967adde375eb24ae165aff83c11be89ca30 (diff)
Merge "[netconfig] APT: Prefer ipv4 connections over ipv6"
Diffstat (limited to 'mcp/reclass')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/init.yml4
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml5
2 files changed, 9 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/init.yml
index 731602f12..f2a6b4e68 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/init.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/init.yml
@@ -62,6 +62,10 @@ parameters:
control_address: ${_param:openstack_proxy_node02_control_address}
linux:
system:
+ apt:
+ config:
+ prefer_ipv4:
+ Acquire::ForceIPv4: true
user:
ubuntu:
enabled: true
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
index 9ae8d1097..464048396 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
@@ -10,6 +10,11 @@ parameters:
_param:
cluster_domain: ${_param:cluster_name}.local
linux:
+ system:
+ apt:
+ config:
+ prefer_ipv4:
+ Acquire::ForceIPv4: true
network:
host:
cfg01: