diff options
author | Dimitri Staessens <[email protected]> | 2021-11-28 17:58:19 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2021-11-28 17:58:19 +0100 |
commit | c661ea043a17c7af70c64f46f4e64a6013a0c1aa (patch) | |
tree | ca8b566f79246df2a5f225a0445d8c28ea642bea | |
parent | 9d07466cd0388ddece61d15f0abff5b89add5929 (diff) | |
download | rumba-c661ea043a17c7af70c64f46f4e64a6013a0c1aa.tar.gz rumba-c661ea043a17c7af70c64f46f4e64a6013a0c1aa.zip |
ssh_support: Update certificates
This will update certificates on the ubuntu hosts.
-rw-r--r-- | rumba/ssh_support.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |