diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-07-02 15:50:27 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-07-02 15:50:27 +0200 |
commit | 440f345f1c51d7b5ffaff9bc9c86ba1561949c46 (patch) | |
tree | b3802abce70c7d1695f491da0b0705e675824d4b /mcp/reclass | |
parent | d6d2348ee690768101ff661c7811c25d9c65c104 (diff) |
[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 <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 | 2 | ||||
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-common-noha/infra/init.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 index c01042f54..931dd1bab 100644 --- a/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 @@ -72,6 +72,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-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/mcp-common-noha/infra/init.yml index ede41940a..772d0880b 100644 --- a/mcp/reclass/classes/cluster/mcp-common-noha/infra/init.yml +++ b/mcp/reclass/classes/cluster/mcp-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: |