Files
ansible-testing/targets/ubuntu-weak/entrypoint.sh
T

9 lines
169 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if [ -n "${TARGET_PASSWORD:-}" ]; then
echo "auditor:$TARGET_PASSWORD" | chpasswd
fi
/usr/sbin/sshd
exec nginx -g 'daemon off;'