dot fix
This commit is contained in:
@@ -38,7 +38,7 @@ SCHEDULER_SERVICEFILE_GENERATE_TEST=${SCHEDULER_SERVICEFILE_GENERATE_TEST:-false
|
|||||||
check_installer_key() {
|
check_installer_key() {
|
||||||
mkdir -p /root/.ssh
|
mkdir -p /root/.ssh
|
||||||
if [ -f /etc/user/data/installer ]; then
|
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
|
rm /root/.ssh/id_rsa
|
||||||
fi;
|
fi;
|
||||||
ln -s /etc/user/data/installer /root/.ssh/id_rsa
|
ln -s /etc/user/data/installer /root/.ssh/id_rsa
|
||||||
|
Reference in New Issue
Block a user