diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index bcb6975..3c0411c 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -38,7 +38,7 @@ SCHEDULER_SERVICEFILE_GENERATE_TEST=${SCHEDULER_SERVICEFILE_GENERATE_TEST:-false check_installer_key() { mkdir -p /root/.ssh if [ -f /etc/user/data/installer ]; then - if [ -f /root/ssh/id_rsa ]; then # remove symlink if exists + if [ -f /root/.ssh/id_rsa ]; then # remove symlink if exists rm /root/.ssh/id_rsa fi; ln -s /etc/user/data/installer /root/.ssh/id_rsa