summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjenkins-scripts/create_jenkins_user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-scripts/create_jenkins_user.sh b/jenkins-scripts/create_jenkins_user.sh
index 2a8655b61..cb45e7d0b 100755
--- a/jenkins-scripts/create_jenkins_user.sh
+++ b/jenkins-scripts/create_jenkins_user.sh
@@ -41,7 +41,7 @@ if [ "$OS" = "opensuse" ];
then
OS_USER="root"
else
- OS_USER="$OS"
+ OS_USER="home/${OS}"
fi
#Generate ssh key for use by Robot jobs
cp -r /${OS_USER}/.ssh/authorized_keys /home/jenkins/.ssh/authorized_keys