Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / remote / git-configure
index 0601208..77c6ec3 100755 (executable)
@@ -3,9 +3,9 @@ tool=$(readlink -e "${0%/*}/..")
 . "$tool"/remote/lib.sh
 
 git remote rm host || true
-git remote add host $local_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 $local_fqdn:src/vm
+git remote add local $local_fqdn:src/$local_hostname
 git config --replace remote.local.push HEAD:refs/remotes/master
 git submodule update --init