diff options
author | Chris Evich <cevich@redhat.com> | 2019-06-13 11:32:06 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-06-13 11:32:06 -0400 |
commit | 8440656fd5a6d61a23a0985cfcdbe421de42498d (patch) | |
tree | a8c02880bede46126c5c7c6a729f85cbd7efc898 /contrib/cirrus | |
parent | f628a97be5b142878ab624776505aed315607f12 (diff) | |
download | podman-8440656fd5a6d61a23a0985cfcdbe421de42498d.tar.gz podman-8440656fd5a6d61a23a0985cfcdbe421de42498d.tar.bz2 podman-8440656fd5a6d61a23a0985cfcdbe421de42498d.zip |
Cirrus: Guarantee ssh is running for rootless
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus')
-rw-r--r-- | contrib/cirrus/lib.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index 462fa332a..97901cfc7 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -211,6 +211,8 @@ setup_rootless() { # Works with older versions of bash printf "${_env_var_name}=%q\n" "$(printenv $_env_var_name)" >> "/home/$ROOTLESS_USER/.bashrc" done + echo "Ensure the systems ssh process is up and running" + systemctl --wait restart sshd # a regular 'start' could hang forever } # Helper/wrapper script to only show stderr/stdout on non-zero exit |