From f839607614b287c48530e8f267644e2b5773865d Mon Sep 17 00:00:00 2001 From: Robert Gildein Date: Wed, 24 Apr 2024 14:01:24 +0200 Subject: [PATCH] fix path to sshd config file --- src/tests/functional/tests/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/functional/tests/configure.py b/src/tests/functional/tests/configure.py index 157443b..419452b 100644 --- a/src/tests/functional/tests/configure.py +++ b/src/tests/functional/tests/configure.py @@ -22,8 +22,8 @@ def set_ssh_password_access_on_backup_host(): """Configure ssh access with password on backup host.""" backup_host_unit = _get_unit("backup-host") command = ( - 'echo "PasswordAuthentication yes" > 01-test-settings.conf &&' - "service sshd reload" + 'echo "PasswordAuthentication yes" > ' + "/etc/ssh/sshd_config.d/01-test-settings.conf && service sshd reload" ) result = zaza.model.run_on_unit(backup_host_unit.name, command, timeout=15) _check_run_result(result)