(
cd "$tool"
git remote rm host || true
- git remote add host $vm_host:tool/vm
+ git remote add host $vm_host:src/vm
git config --replace remote.host.push HEAD:refs/remotes/master
git remote rm hosted || true
- git remote add hosted root@$vm_fqdn:tool/vm
+ git remote add hosted $vm_fqdn:src/vm
git config --replace remote.hosted.push HEAD:refs/remotes/master
git submodule update --init
)