Commit cd720a5
committed
devconfig: add gitconfig /mirror/ sanity check
When you leverage the use of /mirror/ say as an NFS server then your
system will use a git service to allow guests with libvirt to connect
to the NFS server through your own host. This works quite well, however
git will prevent access if the directory is not owned by you.
To fix this the *host*, ie, localhost, must trust the directories,
without this will fail on both the host and the guests:
/usr/bin/git ls-remote git://192.168.122.1/mirror/fstests.git -h refs/heads/HEAD
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 2b61c99 commit cd720a5
1 file changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
44 | 78 | | |
45 | 79 | | |
46 | 80 | | |
| |||
0 commit comments