X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=remote%2Fgit-configure;h=5a334f696c8d0876a17e2baaba8e1acbe7fd76bc;hb=d136fd6b3dc6d9c66c99544f50ac4dea4e353f32;hp=c0c9c9ea5763ad7cf11e67a91f8a9d81aff77cb2;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d;p=lhc%2Fateliers.git diff --git a/remote/git-configure b/remote/git-configure index c0c9c9e..5a334f6 100755 --- a/remote/git-configure +++ b/remote/git-configure @@ -3,9 +3,9 @@ tool=$(readlink -e "${0%/*}/..") . "$tool"/remote/lib.sh git remote rm host || true -git remote add host $vm_host:src/vm +git remote add host $local_host:src/$local_hostname git config --replace remote.host.push HEAD:refs/remotes/master git remote rm local || true -git remote add local $vm_fqdn:src/vm +git remote add local $local_ipv4:src/$local_hostname git config --replace remote.local.push HEAD:refs/remotes/master git submodule update --init