Spread needs to login to an account with a non-empty password. Set the password
of the autopkgtest user account to the same value as the account name.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0015-PATCH-14-18-packaging-do-not-hard-code-the-ubuntu-us.patch
cat /proc/meminfo
# ensure we can do a connect to localhost
-echo ubuntu:ubuntu|chpasswd
+echo "${AUTOPKGTEST_NORMAL_USER}":"${AUTOPKGTEST_NORMAL_USER}" | chpasswd
sed -i 's/\(PermitRootLogin\|PasswordAuthentication\)\>.*/\1 yes/' /etc/ssh/sshd_config
systemctl reload ssh.service