Remove allow-downgrade and dist-upgrades parts from up.sh

These changes were not needed and have negative impact on
the node deployment process.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I134a2acdf831f1c1e2f475a09b2f1d4a85cf68bf
This commit is contained in:
Ruslan Aliev 2023-06-08 18:57:29 -05:00
parent 3c68fb2281
commit 16debd8174
1 changed files with 0 additions and 4 deletions

View File

@ -111,7 +111,6 @@ while true; do
if ! DEBIAN_FRONTEND=noninteractive apt-get install \
-o Dpkg::Options::="--force-confold" \
-y \
--allow-downgrades \
--no-install-recommends \
{%- for role in roles %}
{%- for package in config.get_path('HostSystem:packages.' + role + '.required',{}).values() %}
@ -133,9 +132,6 @@ while true; do
fi
done
sed -i -e 's/slot //g' /lib/systemd/network/99-default.link
DEBIAN_FRONTEND=noninteractive apt-get upgrade -o Dpkg::Options::="--force-confold" -q -y --allow-downgrades --no-install-recommends
# Start core processes
#
set +x