-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix git-init failure with git ssh creds 🔑
In case of a private git resources that uses `ssh` keys, `git` wouldn't find the correct `.ssh/known_hosts`. This only happens in case of the user of the container is `root`. We now treat use `root` as a special case. It should now work for any user — being root or not. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
- Loading branch information
1 parent
639b300
commit 10bacd3
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters