From c661ea043a17c7af70c64f46f4e64a6013a0c1aa Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 28 Nov 2021 17:58:19 +0100 Subject: ssh_support: Update certificates This will update certificates on the ubuntu hosts. --- rumba/ssh_support.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py index 77c4fb6..d77b59f 100644 --- a/rumba/ssh_support.py +++ b/rumba/ssh_support.py @@ -416,6 +416,8 @@ def aptitude_install(testbed, node, packages): cmds = [sudo("sh -c 'while fuser /var/lib/dpkg/lock > /dev/null 2>&1; " + "do sleep 1; echo \"Waiting for dpkg...\"; done'"), "while ! " + sudo("apt-get update") + "; do sleep 1; done", + "while ! " + sudo("DEBIAN_FRONTEND=noninteractive apt-get install --reinstall ca-certificates") + "; do sleep 1; done", + "while ! " + sudo("DEBIAN_FRONTEND=noninteractive update-ca-certificates") + "; do sleep 1; done", "while ! " + sudo(package_install) + "; do sleep 1; done"] execute_commands(testbed, node.ssh_config, cmds, time_out=None) -- cgit v1.2.3