diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index a32ff7170..f7f1e2a50 100644 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -578,6 +578,7 @@ class ApplicationInstaller(multi.Thread): try: command = 'sudo GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --no-single-branch git@' + defaultProvider +'.com:' + username + '/' + reponame + '.git -b ' + branch + ' ' + finalPath + logging.writeToFile(command) subprocess.check_output(shlex.split(command)) except subprocess.CalledProcessError, msg: statusFile = open(tempStatusPath, 'w') diff --git a/plogical/website.py b/plogical/website.py index 0a87e3adc..94e1b2f44 100644 --- a/plogical/website.py +++ b/plogical/website.py @@ -1766,6 +1766,8 @@ class WebsiteManager: configContent = """Host github.com IdentityFile /root/.ssh/git +Host gitlab.com + IdentityFile /root/.ssh/git """ path = "/home/cyberpanel/config"