libvm: Set -o User=root for rsync too
Without fuse-sshfs, we also need to set the root user, which is necessary for the Vagrant case. Closes: #560 Approved by: jlebon
This commit is contained in:
parent
be7dd69b7b
commit
55caec269d
@ -39,7 +39,7 @@ vm_setup() {
|
||||
vm_rsync() {
|
||||
if ! test -f .vagrant/using_sshfs; then
|
||||
pushd ${topsrcdir}
|
||||
rsync -az --no-owner --no-group -e "ssh -F ssh-config" \
|
||||
rsync -az --no-owner --no-group -e "ssh -o User=root -F ssh-config" \
|
||||
--exclude .git/ . vmcheck:/var/roothome/sync
|
||||
popd
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user