summaryrefslogtreecommitdiff
path: root/src/conf_mode/ssh.py
diff options
context:
space:
mode:
authorMathew Inkson <627767+imathew@users.noreply.github.com>2022-01-11 14:23:20 +1100
committerGitHub <noreply@github.com>2022-01-11 14:23:20 +1100
commit142c976ca4b37fbae9ec44487d146b2a8319391c (patch)
tree47e707b09b83294e6a6fe6c853dac1738a178c7e /src/conf_mode/ssh.py
parentbb76e8d7f16355b140a60feafbbed67774788343 (diff)
downloadvyos-1x-142c976ca4b37fbae9ec44487d146b2a8319391c.tar.gz
vyos-1x-142c976ca4b37fbae9ec44487d146b2a8319391c.zip
containers: T2216: bugfix host networking on image upgrade
The bug was partially fixed with this commit: https://github.com/vyos/vyos-1x/commit/358f0b481d8620cad4954e3fe418054b9a8c3ecd The earlier commit introduced a startup retry (up to 10 times) to allow the OS to settle before the container is started. However, it only applies if host networking is NOT used. This change applies the same for containers where host networking is employed. Since the retry portion of the code (written in the earlier commit) is now referenced twice, it has been moved to its own function.
Diffstat (limited to 'src/conf_mode/ssh.py')
0 files changed, 0 insertions, 0 deletions