summaryrefslogtreecommitdiff
path: root/contrib/cirrus
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-06-13 11:32:06 -0400
committerChris Evich <cevich@redhat.com>2019-06-13 11:32:06 -0400
commit8440656fd5a6d61a23a0985cfcdbe421de42498d (patch)
treea8c02880bede46126c5c7c6a729f85cbd7efc898 /contrib/cirrus
parentf628a97be5b142878ab624776505aed315607f12 (diff)
downloadpodman-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.sh2
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