From 3fd2f2d4dc1d46495cf02041f95450664390e09b Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 2 Jul 2018 15:50:27 +0200 Subject: [apt] Allow downgrades during APT operations Pinning certain packages (e.g. OVS) interfers with `dist-upgrade` if downgrades are not explicitly allowed. Change-Id: I0b001936e86228037c30f30812e32d6221ef458d Signed-off-by: Alexandru Avadanii --- mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 | 2 ++ mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'mcp') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 index 7f3839e82..a1653d51a 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 @@ -73,6 +73,8 @@ parameters: config: prefer_ipv4: Acquire::ForceIPv4: true + allow_downgrades: + APT::Get::allow-downgrades: true user: ubuntu: enabled: true diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml index ede41940a..772d0880b 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml +++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml @@ -15,6 +15,8 @@ parameters: config: prefer_ipv4: Acquire::ForceIPv4: true + allow_downgrades: + APT::Get::allow-downgrades: true network: host: cfg01: -- cgit 1.2.3-korg