mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
Cirrus: Guarantee ssh is running for rootless
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
f628a97be5
commit
8440656fd5
|
@ -211,6 +211,8 @@ setup_rootless() {
|
||||||
# Works with older versions of bash
|
# Works with older versions of bash
|
||||||
printf "${_env_var_name}=%q\n" "$(printenv $_env_var_name)" >> "/home/$ROOTLESS_USER/.bashrc"
|
printf "${_env_var_name}=%q\n" "$(printenv $_env_var_name)" >> "/home/$ROOTLESS_USER/.bashrc"
|
||||||
done
|
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
|
# Helper/wrapper script to only show stderr/stdout on non-zero exit
|
||||||
|
|
Loading…
Reference in a new issue