Merge pull request #8 from saifhaq/ldconfig_warn_supress

added ldconfig warning supressing
This commit is contained in:
Jake Henning 2022-01-21 17:11:35 +02:00 committed by GitHub
commit e956065db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -481,7 +481,7 @@ def setup_ssh_server(hostname, hostnames, param, task):
"CLEARML_API_ACCESS_KEY CLEARML_API_SECRET_KEY' >> /etc/ssh/sshd_config && "
'echo "export VISIBLE=now" >> /etc/profile && '
'echo "export PATH=$PATH" >> /etc/profile && '
'echo "ldconfig" >> /etc/profile && '
'echo "ldconfig" 2>/dev/null >> /etc/profile && '
'echo "export CLEARML_CONFIG_FILE={trains_config_file}" >> /etc/profile'.format(
password=ssh_password,
port=port,