diff options
-rwxr-xr-x | lib/testrunner | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/testrunner b/lib/testrunner index fae4c85..6cdbbc7 100755 --- a/lib/testrunner +++ b/lib/testrunner @@ -30,8 +30,11 @@ ktest_no_cleanup_tmpdir=1 log_verbose "Testrunner starting" mkdir -p /root/.ssh -cat /host/$home/.ssh/id*.pub > /root/.ssh/authorized_keys -chmod 600 /root/.ssh/authorized_keys +if cat /host/$home/.ssh/id*.pub > /root/.ssh/authorized_keys; then + chmod 600 /root/.ssh/authorized_keys || true +else + echo "Create an ssh key for ssh access" +fi mkdir -p /lib/modules ln -s /host/$ktest_kernel_binary/lib/modules/* /lib/modules |